Lilac Color
Lilac is a muted, light magenta with hex code #C8A2C8. Here are its RGB, HSL, CMYK and OKLCH values, tints and shades, matching colours and CSS.
Lilac color codes
| HEX | #C8A2C8 | |
|---|---|---|
| RGB | rgb(200, 162, 200) | |
| HSL | hsl(300, 26%, 71%) | |
| HSV | 300°, 19%, 78% | |
| CMYK | 0%, 19%, 0%, 22% | |
| OKLCH | oklch(75.9% 0.068 326.2) | |
| Tailwind | bg-[#c8a2c8] |
Closest Tailwind colour: zinc-400 (#A1A1AA). Convert any colour in the Color Converter.
About Lilac
Lilac (#C8A2C8) is a muted, light magenta. In the RGB model it is 78% red, 64% green and 78% blue; its hue angle is 300°, with 26% saturation and 71% lightness. For print, the CMYK equivalent is 0% cyan, 19% magenta, 0% yellow and 22% black.
It is a warm colour and appears in our shades of purple. Text on it reads best in black (9.5:1 contrast).
Lilac tints and shades
Tints mix lilac with white; shades mix it with black. Click to copy.
Colors that go with Lilac
Complementary
Analogous
Triadic
Split complementary
Lilac contrast
- AA text fail
- AAA text fail
- AA large fail
- AA text pass
- AAA text pass
- AA large pass
Using Lilac in CSS
.brand {
color: #c8a2c8;
}
.button {
background: #c8a2c8;
color: #111;
}
.hero {
background: linear-gradient(135deg, #dbc3db, #c8a2c8, #826982);
}Similar colors
Gradients with Lilac
Lilac FAQ
What color is Lilac?
Lilac is a muted, light magenta. Its hex code is #C8A2C8 and it is a warm colour.
What is the hex code for Lilac?
The hex code for Lilac is #C8A2C8. In RGB that is rgb(200, 162, 200), and in HSL hsl(300, 26%, 71%).
What is Lilac in CMYK?
Lilac is roughly C 0%, M 19%, Y 0%, K 22% in CMYK. Screen-to-print conversion depends on the printer profile, so check a proof for brand colours.
What colors go well with Lilac?
Its complementary colour is #A2C8A2. For a calmer palette use its analogous colours #B5A2C8 and #C8A2B5, or tints and shades of Lilac itself.
Is white or black text better on Lilac?
Black text reads better on Lilac: 9.5:1 contrast, against 2.2:1 for white. WCAG asks for 4.5:1 for body text.
