#CD81E8#CD81E8
#CD81E8 is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.0% C 0.164 H 316.8°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #CD81E8 |
|---|---|
| RGB | rgb(205, 129, 232) |
| HSL | hsl(284, 69%, 71%) |
| HSV | hsv(284, 44%, 91%) |
| CMYK | cmyk(11.6%, 44.4%, 0%, 9%) |
| CIE-LAB | lab(65.36, 46.33, -40.55) |
| CIE-LCH | lch(65.36, 61.57, 318.81°) |
| OKLab | oklab(72.04% 0.1193 -0.1122) |
| OKLCH | oklch(72.04% 0.164 316.8) |
| XYZ | xyz(47.5905, 34.5072, 80.4819) |
| Luminance | 0.3451 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 5.05
Liliac
#C48EFD
ΔE00 5.37
Orchid
#DA70D6
ΔE00 5.51
Lavender Pink
#DD85D7
ΔE00 5.74
Violet (CSS)
#EE82EE
ΔE00 5.76
Easter Purple
#C071FE
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD81E8 #9CE881
analogous
#9981E8 #CD81E8 #E881CF
triadic
#CD81E8 #E8CD81 #81E8CD
tetradic
#CD81E8 #E89981 #9CE881 #81CFE8
square
#CD81E8 #E89981 #9CE881 #81CFE8
split-complementary
#CD81E8 #CFE881 #81E899
monochromatic
#9F25CA #B84DDF #CD81E8 #E2B5F1 #F5E5FA
Accessibility & contrast
On white
2.66
#CD81E8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.90
#CD81E8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD81E8
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD81E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD81E8 | 1.00 | 2.66 | 7.90 | 7.90 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F9AEC
Deuteranopia (green-blind)
#84A1E5
Tritanopia (blue-blind)
#CC8FAA
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cd81e8; /* rgb */ color: rgb(205, 129, 232); /* oklch */ color: oklch(72.0% 0.164 316.8);
Tailwind
colors: {
custom: {
50: '#dea7ef',
500: '#cd81e8',
950: '#000000',
},
}SCSS
$custom: #cd81e8; $custom-light: #dea7ef; $custom-dark: #000000;
JSON
{
"hex": "#cd81e8",
"rgb": {
"r": 205,
"g": 129,
"b": 232
},
"hsl": {
"h": 284.272,
"s": 69.128,
"l": 70.784
},
"oklch": {
"l": 0.72039,
"c": 0.16373,
"h": 316.8
},
"luminance": 0.34506
}Semantic roles & 50–950 ramp
primary
#CD81E8
secondary
#DCF0D5
accent
#D11446
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84