#CD9FFE#CD9FFE
#CD9FFE is a light, vivid violet. Relative luminance 0.449; OKLCH L 78.0% C 0.139 H 305.7°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #CD9FFE |
|---|---|
| RGB | rgb(205, 159, 254) |
| HSL | hsl(269, 98%, 81%) |
| HSV | hsv(269, 37%, 100%) |
| CMYK | cmyk(19.3%, 37.4%, 0%, 0.4%) |
| CIE-LAB | lab(72.85, 34.86, -40.90) |
| CIE-LCH | lch(72.85, 53.74, 310.44°) |
| OKLab | oklab(77.98% 0.0813 -0.1133) |
| OKLCH | oklch(77.98% 0.139 305.7) |
| XYZ | xyz(55.4608, 44.9315, 99.4976) |
| Luminance | 0.4493 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 0.82
Lilac (survey)
#CEA2FD
ΔE00 0.87
Baby Purple
#CA9BF7
ΔE00 1.30
Lavender (survey)
#C79FEF
ΔE00 2.67
Pale Violet
#CEAEFA
ΔE00 4.41
Liliac
#C48EFD
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD9FFE #D0FE9F
analogous
#9FA0FE #CD9FFE #FD9FFE
triadic
#CD9FFE #FECD9F #9FFECD
tetradic
#CD9FFE #FE9FA0 #D0FE9F #9FFEFD
square
#CD9FFE #FE9FA0 #D0FE9F #9FFEFD
split-complementary
#CD9FFE #FEFD9F #A0FE9F
monochromatic
#8E26FD #AD62FD #CD9FFE #EDDCFF #EFE1FF
Accessibility & contrast
On white
2.10
#CD9FFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.99
#CD9FFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD9FFE
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD9FFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD9FFE | 1.00 | 2.10 | 9.99 | 9.99 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8AB1FF
Deuteranopia (green-blind)
#94B3FB
Tritanopia (blue-blind)
#C6AEC3
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #cd9ffe; /* rgb */ color: rgb(205, 159, 254); /* oklch */ color: oklch(78.0% 0.139 305.7);
Tailwind
colors: {
custom: {
50: '#ddbcff',
500: '#cd9ffe',
950: '#000000',
},
}SCSS
$custom: #cd9ffe; $custom-light: #ddbcff; $custom-dark: #000000;
JSON
{
"hex": "#cd9ffe",
"rgb": {
"r": 205,
"g": 159,
"b": 254
},
"hsl": {
"h": 269.053,
"s": 97.938,
"l": 80.98
},
"oklch": {
"l": 0.77984,
"c": 0.13948,
"h": 305.7
},
"luminance": 0.44931
}Semantic roles & 50–950 ramp
primary
#CD9FFE
secondary
#E6F7D4
accent
#E60076
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186