Traditional Chinese color
Lilac Color Code
Lilac is a light, moderately saturated purple with the hex code #CCA4E3. In RGB it is rgb(204, 164, 227), in HSL hsl(278, 53%, 77%) and in CMYK cmyk(10%, 28%, 0%, 11%).
Color values
White text on Lilac has a contrast ratio of 2.10:1 and black text 9.99:1, so black text is the more readable choice.
The closest Tailwind CSS color is Violet 300 (#C4B5FD).
Meaning
Delicate flower color
Use Lilac in CSS
.element {
color: #cca4e3;
background-color: #cca4e3;
border-color: rgb(204, 164, 227);
} Tints and shades of Lilac
Ten steps from light to dark at the same hue. Click any swatch to copy it.
Colors that go with Lilac
Color-wheel harmonies built from #CCA4E3. Click a swatch to copy it or open the set in the color wheel.
Split complementary
Open in color wheelA base plus the two neighbors of its complement — contrast with less tension.
Text contrast on Lilac
Colors similar to Lilac
Closest CSS named colors
Closest traditional Chinese colors
Closest Tailwind colors
Palettes with similar colors
Questions about Lilac
What is the hex code for Lilac?
The hex code for Lilac is #CCA4E3. Its RGB value is rgb(204, 164, 227) and its HSL value is hsl(278, 53%, 77%).
What colors go with Lilac?
The complementary color of Lilac is #BCE3A5. For a softer scheme try the analogous colors #AEA5E3 and #E3A5DB; for a balanced three-color scheme use the triadic colors #E3CDA5 and #A5E3CD.
Is Lilac readable as a text color?
On a white background Lilac has a contrast ratio of 2.10:1, which does not pass WCAG AA for normal text (4.5:1). On black it reaches 9.99:1.