#CE9DF2#CE9DF2
#CE9DF2 is a light, vivid violet. Relative luminance 0.436; OKLCH L 77.2% C 0.129 H 310.0°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CE9DF2 |
|---|---|
| RGB | rgb(206, 157, 242) |
| HSL | hsl(275, 77%, 78%) |
| HSV | hsv(275, 35%, 95%) |
| CMYK | cmyk(14.9%, 35.1%, 0%, 5.1%) |
| CIE-LAB | lab(71.99, 33.65, -35.70) |
| CIE-LCH | lch(71.99, 49.06, 313.30°) |
| OKLab | oklab(77.2% 0.0827 -0.0984) |
| OKLCH | oklch(77.2% 0.129 310) |
| XYZ | xyz(53.5347, 43.6472, 89.5917) |
| Luminance | 0.4365 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 1.67
Baby Purple
#CA9BF7
ΔE00 1.69
Lilac (survey)
#CEA2FD
ΔE00 2.23
Pastel Purple
#CAA0FF
ΔE00 2.97
Pale Violet
#CEAEFA
ΔE00 4.60
Mauve
#E0B0FF
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CE9DF2 #C1F29D
analogous
#A39DF2 #CE9DF2 #F29DEC
triadic
#CE9DF2 #F2CE9D #9DF2CE
tetradic
#CE9DF2 #F2A39D #C1F29D #9DECF2
square
#CE9DF2 #F2A39D #C1F29D #9DECF2
split-complementary
#CE9DF2 #ECF29D #9DF2A3
monochromatic
#9831E4 #B367EB #CE9DF2 #E9D3F9 #F1E4FB
Accessibility & contrast
On white
2.16
#CE9DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.73
#CE9DF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CE9DF2
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CE9DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CE9DF2 | 1.00 | 2.16 | 9.73 | 9.73 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8DAEF5
Deuteranopia (green-blind)
#98B1F0
Tritanopia (blue-blind)
#CAA9BC
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #ce9df2; /* rgb */ color: rgb(206, 157, 242); /* oklch */ color: oklch(77.2% 0.129 310.0);
Tailwind
colors: {
custom: {
50: '#debaf6',
500: '#ce9df2',
950: '#000000',
},
}SCSS
$custom: #ce9df2; $custom-light: #debaf6; $custom-dark: #000000;
JSON
{
"hex": "#ce9df2",
"rgb": {
"r": 206,
"g": 157,
"b": 242
},
"hsl": {
"h": 274.588,
"s": 76.577,
"l": 78.235
},
"oklch": {
"l": 0.77195,
"c": 0.12852,
"h": 310
},
"luminance": 0.43647
}Semantic roles & 50–950 ramp
primary
#CE9DF2
secondary
#E3F3D8
accent
#D90D63
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085