What is the HEX code for lilac?
The CSS color lilac in HEX format is #cea2fd. Use this value directly in CSS, SVG, and most design tools.
How do I use lilac in CSS?
To apply lilac in CSS:
- Text color: color: #cea2fd;
- Background: background-color: #cea2fd;
- Border: border-color: #cea2fd;
What are all the color format values for lilac?
| Format | Value |
|---|---|
| HEX | #cea2fd |
| RGB | rgb(206, 162, 253) |
| HSL | hsl(269, 95.8%, 81.4%) |
| CMYK | cmyk(18.6%, 36%, 0%, 0.8%) |
How do I convert lilac to HEX?
Select lilac from the color name list in our color converter. The HEX value — #cea2fd — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does lilac belong to?
lilac belongs to the blue color family. It is a light, vivid color with HSL values: hue 269°, saturation 95.8%, lightness 81.4%.
How do I create lighter and darker shades of lilac?
Lighter variant (lightness 95%): #f2e6fe. Darker variant (lightness 66.4%): #a757fb. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.
What is HEX used for?
HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.