HTML color codes for lilac - hexadecimal + RGB

Discover all HTML codes for the color lilac - hexadecimal, rgb, hsl, hsv, and cmyk, as well as different combinations, schemes, temperatures, hues, and types of lilac color.

#b695c0

códigos del color lilac

Complementary color of lilac:

The complementary color of a color is the opposite of it on the color wheel (chromatic circle)

#9fc095

Monochromatic scheme of the color lilac

#503459
#6c4e75
#896a92
#a786b0
#c0a4c9
#d5c1db
#eae0ed
#ffffff

This scheme is based on the color lilac and is composed of different hues, tones, and shades, both dark and light.

HTML and CSS codes for the color lilac

formatcode
hex#b695c0
rgbrgb(182,149,192)
hslhsl(287,26%,67%)
cmykcmyk(6, 23, 0, 25)
hsvhsv(287, 23%, 76%)

What is the lilac color in RGB format?

The lilac color in RGB format is composed of (182 in the red channel), (149 in the green channel), and (192 in the blue channel).

What is the lilac color in CMYK format?

It is composed of (6%) cyan, (23%) magenta, (0%) yellow, and (25%) black / key.

What is the composition of the lilac color in HSL?

It is composed of (287°) hue, (26%) saturation, and (67%) lightness.

What is the lilac color in HSV format?

The lilac color in HSV format is composed of (287°) hue, (23%) saturation, and (76%) value.

Analogous scheme of the color lilac

Analogous colors are obtained from the two closest colors within the color wheel.

#b795c1
#c195b4
#a195c1

Triadic scheme of the color lilac

The triadic scheme is obtained from 3 colors equally spaced from each other within the color wheel

#b695c0
#c0b695
#95c0b6

Tetradic scheme of the color lilac

This color scheme is obtained by using two pairs of opposing colors on the color wheel in a rectangular shape.

#b695c0
#c0a095
#9fc095
#95b4c0

Split complementary scheme of the color lilac

This color scheme is obtained by using two pairs of opposing colors on the color wheel in a rectangular shape.

#b695c0
#c09596
#95c0a5

Tints of the color lilac

Tints are obtained from the base color lilac up to reaching white, finding in between shades of pastel colors.

#b695c0
#c5aacd
#d3bfd9
#e2d5e6
#f0eaf2
#ffffff

Shades of the color lilac

These shades are obtained from the base color lilac up to reaching black.

#b695c0
#92779a
#6d5973
#493c4d
#241e26
#000000

Check the contrast of the color lilac.

You can now validate the contrast relationship of the color lilac, whether using it as a background color or as a text color.

Change the text color.
Contrast ratio: 2.61

Contrast ratio test of the color lilac as a background

Change the background color
Contrast ratio: 5.99

Contrast ratio test of the color lilac as text.

How to implement the color lilac in HTML and CSS

Here are examples of code to use the lilac on your web page. Remember that you can implement the color in HTML using color codes such as hexadecimal, RGB, or HSL, and also directly with the color name written in English (as long as it is natively supported by HTML).

Background color lilac in HTML - CSS.

To set the background color, you can use inline styles or apply them in a CSS stylesheet

<div style="background:#b695c0;"> Color lilac as the background of a div.</div>
/* Color lilac as the background of the body tag with CSS. */
body {
background: #b695c0;
}

To set the text color lilac in HTML - CSS.

To set the text color, you can use inline styles or apply them in a CSS stylesheet.

<p style="color:#b695c0;"> Color lilac as the text color.</p>
p {
color:#b695c0 ;
}

Here are more colors with all their codes