#D052E2#D052E2
#D052E2 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.9% C 0.230 H 322.5°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #D052E2 |
|---|---|
| RGB | rgb(208, 82, 226) |
| HSL | hsl(293, 71%, 60%) |
| HSV | hsv(293, 64%, 89%) |
| CMYK | cmyk(8%, 63.7%, 0%, 11.4%) |
| CIE-LAB | lab(57.01, 68.39, -50.35) |
| CIE-LCH | lch(57.01, 84.92, 323.64°) |
| OKLab | oklab(65.89% 0.1825 -0.1402) |
| OKLCH | oklch(65.89% 0.23 322.5) |
| XYZ | xyz(42.7558, 24.9378, 74.4982) |
| Luminance | 0.2493 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinkish Purple
#D648D7
ΔE00 2.49
Heliotrope
#D94FF5
ΔE00 2.74
Mediumorchid
#BA55D3
ΔE00 4.00
Bright Lilac
#C95EFB
ΔE00 4.61
Purple Pink
#D725DE
ΔE00 5.07
Pink Purple
#EF1DE7
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D052E2 #64E252
analogous
#8852E2 #D052E2 #E252AC
triadic
#D052E2 #E2D052 #52E2D0
tetradic
#D052E2 #E28852 #64E252 #52ACE2
square
#D052E2 #E28852 #64E252 #52ACE2
split-complementary
#D052E2 #ACE252 #52E288
monochromatic
#8E1B9F #BD23D3 #D052E2 #DE86EB #ECBBF4
Accessibility & contrast
On white
3.51
#D052E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.99
#D052E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D052E2
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D052E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D052E2 | 1.00 | 3.51 | 5.99 | 5.99 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#307FE6
Deuteranopia (green-blind)
#658EDE
Tritanopia (blue-blind)
#D36993
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #d052e2; /* rgb */ color: rgb(208, 82, 226); /* oklch */ color: oklch(65.9% 0.230 322.5);
Tailwind
colors: {
custom: {
50: '#e28bec',
500: '#d052e2',
950: '#000000',
},
}SCSS
$custom: #d052e2; $custom-light: #e28bec; $custom-dark: #000000;
JSON
{
"hex": "#d052e2",
"rgb": {
"r": 208,
"g": 82,
"b": 226
},
"hsl": {
"h": 292.5,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.65885,
"c": 0.23015,
"h": 322.5
},
"luminance": 0.24935
}Semantic roles & 50–950 ramp
primary
#D052E2
secondary
#B3E3AC
accent
#D3122A
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D16
muted
#847D84