Lilac color: hex code #C8A2C8
Lilac has the hex code #C8A2C8. It is a light, desaturated magenta.
In the RGB color model it is made of 78.4% red, 63.5% green and 78.4% blue (200, 162, 200).
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.
Black text is the more readable choice on this background (contrast 9.46:1).
Lilac (#C8A2C8) color codes
| HEX | #C8A2C8 | |
|---|---|---|
| RGB | rgb(200, 162, 200) | |
| RGB percent | rgb(78.4%, 63.5%, 78.4%) | |
| HSL | hsl(300, 26%, 71%) | |
| HSV / HSB | hsv(300, 19%, 78%) | |
| CMYK | cmyk(0%, 19%, 0%, 22%) | |
| CIE LAB | lab(71.07, 20.54, -14.13) | |
| CIE LCH | lch(71.07, 24.93, 325.48) | |
| CIE XYZ | xyz(47.164, 42.291, 60.311) | |
| Decimal | 13148872 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Lilac, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #C8A2C8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.46:1 | Pass | Pass | Pass |
| Sample text | 2.22:1 | Fail | Fail | Fail |
| #C8A2C8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.22:1 | Fail | Fail | Fail |
| Sample text | 9.46:1 | Pass | Pass | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #C8A2C8 looks to people with the most common types of color vision deficiency.
#a0abcaProtanopia
no red cones#a8b0c7Deuteranopia
no green cones#cba5afTritanopia
no blue cones#aeaeaeAchromatopsia
no color vision
CSS examples
.background { background-color: #c8a2c8; }
.text { color: #c8a2c8; }
.border { border: 2px solid #c8a2c8; }
.transparent { background-color: rgb(200 162 200 / 50%); }
.gradient { background: linear-gradient(to right, #c8a2c8, #c8a2b5); }
Similar colors
#c6a1cfLilac Lace#c2a4c2Novel Lilac#bb99bbDripping Wisteria#cb99c9Pastel Violet#d39bcbGirl Power#d39ed2Velvet Horizon#d9b1d6Blushing Sky#daafd1Violet Vamp
See #C8A2C8 on its hex code page
Questions
- What color is #C8A2C8?
- #C8A2C8 is a light, desaturated magenta known as Lilac. It belongs to the purple family of colors.
- What is the RGB value of Lilac?
- The RGB value is 200, 162, 200: 200 red, 162 green and 200 blue on a 0 to 255 scale.
- What is the complementary color of Lilac?
- The complementary color is #A2C8A2, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #C8A2C8?
- Black text. Black text has a contrast ratio of 9.46:1 and white text 2.22:1. WCAG asks for at least 4.5:1 for normal text.