#CD9EF6#CD9EF6
#CD9EF6 is a light, vivid violet. Relative luminance 0.441; OKLCH L 77.5% C 0.131 H 308.1°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CD9EF6 |
|---|---|
| RGB | rgb(205, 158, 246) |
| HSL | hsl(272, 83%, 79%) |
| HSV | hsv(272, 36%, 96%) |
| CMYK | cmyk(16.7%, 35.8%, 0%, 3.5%) |
| CIE-LAB | lab(72.29, 33.66, -37.43) |
| CIE-LCH | lch(72.29, 50.34, 311.96°) |
| OKLab | oklab(77.45% 0.081 -0.1034) |
| OKLCH | oklch(77.45% 0.131 308.1) |
| XYZ | xyz(54.0351, 44.0872, 92.8340) |
| Luminance | 0.4409 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 1.06
Lilac (survey)
#CEA2FD
ΔE00 1.41
Lavender (survey)
#C79FEF
ΔE00 1.61
Pastel Purple
#CAA0FF
ΔE00 2.07
Pale Violet
#CEAEFA
ΔE00 4.28
Liliac
#C48EFD
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD9EF6 #C7F69E
analogous
#A19EF6 #CD9EF6 #F69EF3
triadic
#CD9EF6 #F6CD9E #9EF6CD
tetradic
#CD9EF6 #F6A19E #C7F69E #9EF3F6
square
#CD9EF6 #F6A19E #C7F69E #9EF3F6
split-complementary
#CD9EF6 #F3F69E #9EF6A1
monochromatic
#932EEC #B066F1 #CD9EF6 #EAD6FB #F1E3FC
Accessibility & contrast
On white
2.14
#CD9EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.82
#CD9EF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD9EF6
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD9EF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD9EF6 | 1.00 | 2.14 | 9.82 | 9.82 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8CAFF9
Deuteranopia (green-blind)
#97B2F3
Tritanopia (blue-blind)
#C8ABBF
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cd9ef6; /* rgb */ color: rgb(205, 158, 246); /* oklch */ color: oklch(77.5% 0.131 308.1);
Tailwind
colors: {
custom: {
50: '#ddbbf9',
500: '#cd9ef6',
950: '#000000',
},
}SCSS
$custom: #cd9ef6; $custom-light: #ddbbf9; $custom-dark: #000000;
JSON
{
"hex": "#cd9ef6",
"rgb": {
"r": 205,
"g": 158,
"b": 246
},
"hsl": {
"h": 272.045,
"s": 83.019,
"l": 79.216
},
"oklch": {
"l": 0.7745,
"c": 0.13132,
"h": 308.1
},
"luminance": 0.44087
}Semantic roles & 50–950 ramp
primary
#CD9EF6
secondary
#E4F4D7
accent
#DF066B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185