#D952EF#D952EF
#D952EF is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.8% C 0.245 H 321.8°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #D952EF |
|---|---|
| RGB | rgb(217, 82, 239) |
| HSL | hsl(292, 83%, 63%) |
| HSV | hsv(292, 66%, 94%) |
| CMYK | cmyk(9.2%, 65.7%, 0%, 6.3%) |
| CIE-LAB | lab(58.99, 72.73, -54.40) |
| CIE-LCH | lch(58.99, 90.83, 323.20°) |
| OKLab | oklab(67.8% 0.1926 -0.1518) |
| OKLCH | oklch(67.8% 0.245 321.8) |
| XYZ | xyz(47.2109, 27.0208, 84.3734) |
| Luminance | 0.2702 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 0.95
Bright Lilac
#C95EFB
ΔE00 3.73
Pinkish Purple
#D648D7
ΔE00 3.99
Bright Lavender
#C760FF
ΔE00 4.49
Pink Purple
#EF1DE7
ΔE00 4.96
Magenta
#FF00FF
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D952EF #68EF52
analogous
#8A52EF #D952EF #EF52B7
triadic
#D952EF #EFD952 #52EFD9
tetradic
#D952EF #EF8A52 #68EF52 #52B7EF
square
#D952EF #EF8A52 #68EF52 #52B7EF
split-complementary
#D952EF #B7EF52 #52EF8A
monochromatic
#9F11B6 #CD1AEA #D952EF #E58AF4 #F2C2F9
Accessibility & contrast
On white
3.28
#D952EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.40
#D952EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D952EF
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D952EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D952EF | 1.00 | 3.28 | 6.40 | 6.40 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2484F4
Deuteranopia (green-blind)
#6593EB
Tritanopia (blue-blind)
#DB6D9A
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #d952ef; /* rgb */ color: rgb(217, 82, 239); /* oklch */ color: oklch(67.8% 0.245 321.8);
Tailwind
colors: {
custom: {
50: '#e88cf5',
500: '#d952ef',
950: '#000000',
},
}SCSS
$custom: #d952ef; $custom-light: #e88cf5; $custom-dark: #000000;
JSON
{
"hex": "#d952ef",
"rgb": {
"r": 217,
"g": 82,
"b": 239
},
"hsl": {
"h": 291.592,
"s": 83.069,
"l": 62.941
},
"oklch": {
"l": 0.67797,
"c": 0.24524,
"h": 321.8
},
"luminance": 0.27018
}Semantic roles & 50–950 ramp
primary
#D952EF
secondary
#BAEBB2
accent
#DF0624
background
#FEF9FF
surface
#FDF1FE
border
#D5CBD6
text
#170D17
muted
#857E85