#CD9EF3#CD9EF3
#CD9EF3 is a light, vivid violet. Relative luminance 0.439; OKLCH L 77.3% C 0.128 H 309.0°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CD9EF3 |
|---|---|
| RGB | rgb(205, 158, 243) |
| HSL | hsl(273, 78%, 79%) |
| HSV | hsv(273, 35%, 95%) |
| CMYK | cmyk(15.6%, 35%, 0%, 4.7%) |
| CIE-LAB | lab(72.16, 33.02, -35.99) |
| CIE-LCH | lch(72.16, 48.84, 312.53°) |
| OKLab | oklab(77.32% 0.0803 -0.0992) |
| OKLCH | oklch(77.32% 0.128 309) |
| XYZ | xyz(53.5784, 43.9045, 90.4285) |
| Luminance | 0.4390 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 1.37
Baby Purple
#CA9BF7
ΔE00 1.51
Lilac (survey)
#CEA2FD
ΔE00 1.88
Pastel Purple
#CAA0FF
ΔE00 2.62
Pale Violet
#CEAEFA
ΔE00 4.26
Mauve
#E0B0FF
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD9EF3 #C4F39E
analogous
#A29EF3 #CD9EF3 #F39EEF
triadic
#CD9EF3 #F3CD9E #9EF3CD
tetradic
#CD9EF3 #F3A29E #C4F39E #9EEFF3
square
#CD9EF3 #F3A29E #C4F39E #9EEFF3
split-complementary
#CD9EF3 #EFF39E #9EF3A2
monochromatic
#9531E6 #B168EC #CD9EF3 #E9D4FA #F1E4FC
Accessibility & contrast
On white
2.15
#CD9EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.78
#CD9EF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD9EF3
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD9EF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD9EF3 | 1.00 | 2.15 | 9.78 | 9.78 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8EAFF6
Deuteranopia (green-blind)
#98B2F1
Tritanopia (blue-blind)
#C8AABD
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cd9ef3; /* rgb */ color: rgb(205, 158, 243); /* oklch */ color: oklch(77.3% 0.128 309.0);
Tailwind
colors: {
custom: {
50: '#ddbbf7',
500: '#cd9ef3',
950: '#000000',
},
}SCSS
$custom: #cd9ef3; $custom-light: #ddbbf7; $custom-dark: #000000;
JSON
{
"hex": "#cd9ef3",
"rgb": {
"r": 205,
"g": 158,
"b": 243
},
"hsl": {
"h": 273.176,
"s": 77.982,
"l": 78.627
},
"oklch": {
"l": 0.77317,
"c": 0.12768,
"h": 309
},
"luminance": 0.43904
}Semantic roles & 50–950 ramp
primary
#CD9EF3
secondary
#E4F3D8
accent
#DA0B68
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185