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
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
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
format | code |
---|---|
hex | #b695c0 |
rgb | rgb(182,149,192) |
hsl | hsl(287,26%,67%) |
cmyk | cmyk(6, 23, 0, 25) |
hsv | hsv(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.
Triadic scheme of the color lilac
The triadic scheme is obtained from 3 colors equally spaced from each other within the color wheel
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.
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.
Tints of the color lilac
Tints are obtained from the base color lilac up to reaching white, finding in between shades of pastel colors.
Shades of the color lilac
These shades are obtained from the base color lilac up to reaching black.
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.
Contrast ratio test of the color lilac as a background
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 ;}