#CD9EFD#CD9EFD
#CD9EFD is a light, vivid violet. Relative luminance 0.445; OKLCH L 77.8% C 0.140 H 306.1°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #CD9EFD |
|---|---|
| RGB | rgb(205, 158, 253) |
| HSL | hsl(270, 96%, 81%) |
| HSV | hsv(270, 38%, 99%) |
| CMYK | cmyk(19%, 37.5%, 0%, 0.8%) |
| CIE-LAB | lab(72.58, 35.18, -40.77) |
| CIE-LCH | lch(72.58, 53.85, 310.79°) |
| OKLab | oklab(77.77% 0.0825 -0.113) |
| OKLCH | oklch(77.77% 0.14 306.1) |
| XYZ | xyz(55.1298, 44.5251, 98.5993) |
| Luminance | 0.4452 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 1.04
Lilac (survey)
#CEA2FD
ΔE00 1.05
Baby Purple
#CA9BF7
ΔE00 1.06
Lavender (survey)
#C79FEF
ΔE00 2.61
Liliac
#C48EFD
ΔE00 4.27
Pale Violet
#CEAEFA
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD9EFD #CEFD9E
analogous
#9E9EFD #CD9EFD #FC9EFD
triadic
#CD9EFD #FDCD9E #9EFDCD
tetradic
#CD9EFD #FD9E9E #CEFD9E #9EFDFC
square
#CD9EFD #FD9E9E #CEFD9E #9EFDFC
split-complementary
#CD9EFD #FDFC9E #9EFD9E
monochromatic
#8F26FB #AE62FC #CD9EFD #ECDAFE #F0E1FE
Accessibility & contrast
On white
2.12
#CD9EFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.90
#CD9EFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD9EFD
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD9EFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD9EFD | 1.00 | 2.12 | 9.90 | 9.90 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89B0FF
Deuteranopia (green-blind)
#94B2FA
Tritanopia (blue-blind)
#C6ADC2
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cd9efd; /* rgb */ color: rgb(205, 158, 253); /* oklch */ color: oklch(77.8% 0.140 306.1);
Tailwind
colors: {
custom: {
50: '#ddbbfe',
500: '#cd9efd',
950: '#000000',
},
}SCSS
$custom: #cd9efd; $custom-light: #ddbbfe; $custom-dark: #000000;
JSON
{
"hex": "#cd9efd",
"rgb": {
"r": 205,
"g": 158,
"b": 253
},
"hsl": {
"h": 269.684,
"s": 95.96,
"l": 80.588
},
"oklch": {
"l": 0.77767,
"c": 0.13989,
"h": 306.1
},
"luminance": 0.44525
}Semantic roles & 50–950 ramp
primary
#CD9EFD
secondary
#E6F7D4
accent
#E60074
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186