#C996EF#C996EF
#C996EF is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.4% C 0.135 H 309.8°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #C996EF |
|---|---|
| RGB | rgb(201, 150, 239) |
| HSL | hsl(274, 74%, 76%) |
| HSV | hsv(274, 37%, 94%) |
| CMYK | cmyk(15.9%, 37.2%, 0%, 6.3%) |
| CIE-LAB | lab(69.80, 35.34, -37.51) |
| CIE-LCH | lch(69.80, 51.54, 313.29°) |
| OKLab | oklab(75.38% 0.0862 -0.1036) |
| OKLCH | oklch(75.38% 0.135 309.8) |
| XYZ | xyz(50.5709, 40.4628, 86.7906) |
| Luminance | 0.4046 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 1.70
Lavender (survey)
#C79FEF
ΔE00 2.61
Lilac (survey)
#CEA2FD
ΔE00 3.32
Pastel Purple
#CAA0FF
ΔE00 3.47
Liliac
#C48EFD
ΔE00 3.93
Pale Purple
#B790D4
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C996EF #BCEF96
analogous
#9D96EF #C996EF #EF96E9
triadic
#C996EF #EFC996 #96EFC9
tetradic
#C996EF #EF9D96 #BCEF96 #96E9EF
square
#C996EF #EF9D96 #BCEF96 #96E9EF
split-complementary
#C996EF #E9EF96 #96EF9D
monochromatic
#922CDF #AE61E7 #C996EF #E4CBF7 #F1E4FB
Accessibility & contrast
On white
2.31
#C996EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.09
#C996EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C996EF
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C996EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C996EF | 1.00 | 2.31 | 9.09 | 9.09 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85A8F2
Deuteranopia (green-blind)
#90ABEC
Tritanopia (blue-blind)
#C5A3B7
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c996ef; /* rgb */ color: rgb(201, 150, 239); /* oklch */ color: oklch(75.4% 0.135 309.8);
Tailwind
colors: {
custom: {
50: '#dab5f4',
500: '#c996ef',
950: '#000000',
},
}SCSS
$custom: #c996ef; $custom-light: #dab5f4; $custom-dark: #000000;
JSON
{
"hex": "#c996ef",
"rgb": {
"r": 201,
"g": 150,
"b": 239
},
"hsl": {
"h": 274.382,
"s": 73.554,
"l": 76.275
},
"oklch": {
"l": 0.75379,
"c": 0.13481,
"h": 309.8
},
"luminance": 0.40462
}Semantic roles & 50–950 ramp
primary
#C996EF
secondary
#E4F3D8
accent
#D61064
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085