#CD81E9#CD81E9
#CD81E9 is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.1% C 0.165 H 316.4°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #CD81E9 |
|---|---|
| RGB | rgb(205, 129, 233) |
| HSL | hsl(284, 70%, 71%) |
| HSV | hsv(284, 45%, 91%) |
| CMYK | cmyk(12%, 44.6%, 0%, 8.6%) |
| CIE-LAB | lab(65.41, 46.54, -41.03) |
| CIE-LCH | lch(65.41, 62.04, 318.60°) |
| OKLab | oklab(72.09% 0.1194 -0.1136) |
| OKLCH | oklch(72.09% 0.165 316.4) |
| XYZ | xyz(47.7329, 34.5642, 81.2321) |
| Luminance | 0.3456 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.91
Liliac
#C48EFD
ΔE00 5.24
Orchid
#DA70D6
ΔE00 5.62
Violet (CSS)
#EE82EE
ΔE00 5.81
Lavender Pink
#DD85D7
ΔE00 5.89
Easter Purple
#C071FE
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD81E9 #9DE981
analogous
#9981E9 #CD81E9 #E981D1
triadic
#CD81E9 #E9CD81 #81E9CD
tetradic
#CD81E9 #E99981 #9DE981 #81D1E9
square
#CD81E9 #E99981 #9DE981 #81D1E9
split-complementary
#CD81E9 #D1E981 #81E999
monochromatic
#9F24CC #B84DE0 #CD81E9 #E2B5F2 #F5E5FA
Accessibility & contrast
On white
2.65
#CD81E9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.91
#CD81E9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD81E9
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD81E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD81E9 | 1.00 | 2.65 | 7.91 | 7.91 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9AED
Deuteranopia (green-blind)
#83A1E6
Tritanopia (blue-blind)
#CC8FAA
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cd81e9; /* rgb */ color: rgb(205, 129, 233); /* oklch */ color: oklch(72.1% 0.165 316.4);
Tailwind
colors: {
custom: {
50: '#dea7f0',
500: '#cd81e9',
950: '#000000',
},
}SCSS
$custom: #cd81e9; $custom-light: #dea7f0; $custom-dark: #000000;
JSON
{
"hex": "#cd81e9",
"rgb": {
"r": 205,
"g": 129,
"b": 233
},
"hsl": {
"h": 283.846,
"s": 70.27,
"l": 70.98
},
"oklch": {
"l": 0.72087,
"c": 0.16481,
"h": 316.4
},
"luminance": 0.34563
}Semantic roles & 50–950 ramp
primary
#CD81E9
secondary
#DDF1D5
accent
#D21347
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84