#CD52E9#CD52E9
#CD52E9 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.9% C 0.235 H 319.7°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #CD52E9 |
|---|---|
| RGB | rgb(205, 82, 233) |
| HSL | hsl(289, 77%, 62%) |
| HSV | hsv(289, 65%, 91%) |
| CMYK | cmyk(12%, 64.8%, 0%, 8.6%) |
| CIE-LAB | lab(56.98, 68.98, -54.36) |
| CIE-LCH | lch(56.98, 87.83, 321.76°) |
| OKLab | oklab(65.9% 0.1791 -0.152) |
| OKLCH | oklch(65.9% 0.235 319.7) |
| XYZ | xyz(42.9003, 24.8989, 79.6212) |
| Luminance | 0.2490 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 2.24
Bright Lilac
#C95EFB
ΔE00 3.54
Pinkish Purple
#D648D7
ΔE00 3.66
Mediumorchid
#BA55D3
ΔE00 4.07
Bright Lavender
#C760FF
ΔE00 4.31
Purple Pink
#D725DE
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD52E9 #6EE952
analogous
#8252E9 #CD52E9 #E952BA
triadic
#CD52E9 #E9CD52 #52E9CD
tetradic
#CD52E9 #E98252 #6EE952 #52BAE9
square
#CD52E9 #E98252 #6EE952 #52BAE9
split-complementary
#CD52E9 #BAE952 #52E982
monochromatic
#8F16AB #BD1DE1 #CD52E9 #DD88F0 #ECBFF7
Accessibility & contrast
On white
3.51
#CD52E9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.98
#CD52E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD52E9
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD52E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD52E9 | 1.00 | 3.51 | 5.98 | 5.98 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2180ED
Deuteranopia (green-blind)
#5E8DE5
Tritanopia (blue-blind)
#CE6C97
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #cd52e9; /* rgb */ color: rgb(205, 82, 233); /* oklch */ color: oklch(65.9% 0.235 319.7);
Tailwind
colors: {
custom: {
50: '#e08bf1',
500: '#cd52e9',
950: '#000000',
},
}SCSS
$custom: #cd52e9; $custom-light: #e08bf1; $custom-dark: #000000;
JSON
{
"hex": "#cd52e9",
"rgb": {
"r": 205,
"g": 82,
"b": 233
},
"hsl": {
"h": 288.874,
"s": 77.436,
"l": 61.765
},
"oklch": {
"l": 0.65896,
"c": 0.2349,
"h": 319.7
},
"luminance": 0.24897
}Semantic roles & 50–950 ramp
primary
#CD52E9
secondary
#BAE7AF
accent
#DA0C32
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D17
muted
#847D85