#CD56E9#CD56E9
#CD56E9 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.3% C 0.230 H 319.5°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #CD56E9 |
|---|---|
| RGB | rgb(205, 86, 233) |
| HSL | hsl(289, 77%, 63%) |
| HSV | hsv(289, 63%, 91%) |
| CMYK | cmyk(12%, 63.1%, 0%, 8.6%) |
| CIE-LAB | lab(57.58, 67.31, -53.40) |
| CIE-LCH | lch(57.58, 85.93, 321.57°) |
| OKLab | oklab(66.33% 0.1747 -0.1492) |
| OKLCH | oklch(66.33% 0.23 319.5) |
| XYZ | xyz(43.2107, 25.5199, 79.7247) |
| Luminance | 0.2552 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 2.15
Bright Lilac
#C95EFB
ΔE00 3.21
Pinkish Purple
#D648D7
ΔE00 3.89
Bright Lavender
#C760FF
ΔE00 4.00
Mediumorchid
#BA55D3
ΔE00 4.30
Purple Pink
#D725DE
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD56E9 #72E956
analogous
#8356E9 #CD56E9 #E956BC
triadic
#CD56E9 #E9CD56 #56E9CD
tetradic
#CD56E9 #E98356 #72E956 #56BCE9
square
#CD56E9 #E98356 #72E956 #56BCE9
split-complementary
#CD56E9 #BCE956 #56E983
monochromatic
#9117AE #BD20E2 #CD56E9 #DD8CF0 #EDC2F7
Accessibility & contrast
On white
3.44
#CD56E9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.10
#CD56E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD56E9
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD56E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD56E9 | 1.00 | 3.44 | 6.10 | 6.10 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B82ED
Deuteranopia (green-blind)
#618EE5
Tritanopia (blue-blind)
#CD6F98
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #cd56e9; /* rgb */ color: rgb(205, 86, 233); /* oklch */ color: oklch(66.3% 0.230 319.5);
Tailwind
colors: {
custom: {
50: '#e08df1',
500: '#cd56e9',
950: '#000000',
},
}SCSS
$custom: #cd56e9; $custom-light: #e08df1; $custom-dark: #000000;
JSON
{
"hex": "#cd56e9",
"rgb": {
"r": 205,
"g": 86,
"b": 233
},
"hsl": {
"h": 288.571,
"s": 76.963,
"l": 62.549
},
"oklch": {
"l": 0.6633,
"c": 0.22973,
"h": 319.5
},
"luminance": 0.25518
}Semantic roles & 50–950 ramp
primary
#CD56E9
secondary
#BDE8B3
accent
#D90C33
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85