#CD8EF9#CD8EF9
#CD8EF9 is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.9% C 0.161 H 310.1°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #CD8EF9 |
|---|---|
| RGB | rgb(205, 142, 249) |
| HSL | hsl(275, 90%, 77%) |
| HSV | hsv(275, 43%, 98%) |
| CMYK | cmyk(17.7%, 43%, 0%, 2.4%) |
| CIE-LAB | lab(68.87, 42.97, -44.40) |
| CIE-LCH | lch(68.87, 61.79, 314.07°) |
| OKLab | oklab(74.91% 0.104 -0.1233) |
| OKLCH | oklch(74.91% 0.161 310.1) |
| XYZ | xyz(51.9456, 39.1655, 94.4274) |
| Luminance | 0.3916 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.17
Baby Purple
#CA9BF7
ΔE00 3.51
Pastel Purple
#CAA0FF
ΔE00 4.72
Lilac (survey)
#CEA2FD
ΔE00 4.99
Lavender (survey)
#C79FEF
ΔE00 5.34
Light Purple
#BF77F6
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD8EF9 #BAF98E
analogous
#988EF9 #CD8EF9 #F98EF0
triadic
#CD8EF9 #F9CD8E #8EF9CD
tetradic
#CD8EF9 #F9988E #BAF98E #8EF0F9
square
#CD8EF9 #F9988E #BAF98E #8EF0F9
split-complementary
#CD8EF9 #F0F98E #8EF998
monochromatic
#9A1AF3 #B354F6 #CD8EF9 #E7C8FC #F2E2FD
Accessibility & contrast
On white
2.38
#CD8EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.83
#CD8EF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD8EF9
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD8EF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD8EF9 | 1.00 | 2.38 | 8.83 | 8.83 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77A5FD
Deuteranopia (green-blind)
#87A9F6
Tritanopia (blue-blind)
#C89EB8
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #cd8ef9; /* rgb */ color: rgb(205, 142, 249); /* oklch */ color: oklch(74.9% 0.161 310.1);
Tailwind
colors: {
custom: {
50: '#deb0fb',
500: '#cd8ef9',
950: '#000000',
},
}SCSS
$custom: #cd8ef9; $custom-light: #deb0fb; $custom-dark: #000000;
JSON
{
"hex": "#cd8ef9",
"rgb": {
"r": 205,
"g": 142,
"b": 249
},
"hsl": {
"h": 275.327,
"s": 89.916,
"l": 76.667
},
"oklch": {
"l": 0.74914,
"c": 0.16131,
"h": 310.1
},
"luminance": 0.39165
}Semantic roles & 50–950 ramp
primary
#CD8EF9
secondary
#E3F6D5
accent
#E6005E
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85