Lilac color: hex code #C8A2C8

#C8A2C8 rgb(200, 162, 200)
Shades of purple

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
RGBrgb(200, 162, 200)
RGB percentrgb(78.4%, 63.5%, 78.4%)
HSLhsl(300, 26%, 71%)
HSV / HSBhsv(300, 19%, 78%)
CMYKcmyk(0%, 19%, 0%, 22%)
CIE LABlab(71.07, 20.54, -14.13)
CIE LCHlch(71.07, 24.93, 325.48)
CIE XYZxyz(47.164, 42.291, 60.311)
Decimal13148872
Short hexNone (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 #C8A2C8RatioAAAAAAA large
Sample text9.46:1PassPassPass
Sample text2.22:1FailFailFail
#C8A2C8 as text onRatioAAAAAAA large
Sample text2.22:1FailFailFail
Sample text9.46:1PassPassPass

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.

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); }
Background
Text color
Border

Similar colors

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.