#D752EF#D752EF
#D752EF is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.5% C 0.244 H 321.2°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #D752EF |
|---|---|
| RGB | rgb(215, 82, 239) |
| HSL | hsl(291, 83%, 63%) |
| HSV | hsv(291, 66%, 94%) |
| CMYK | cmyk(10%, 65.7%, 0%, 6.3%) |
| CIE-LAB | lab(58.71, 72.29, -54.87) |
| CIE-LCH | lch(58.71, 90.76, 322.80°) |
| OKLab | oklab(67.54% 0.1904 -0.1532) |
| OKLCH | oklch(67.54% 0.244 321.2) |
| XYZ | xyz(46.6198, 26.7160, 84.3457) |
| Luminance | 0.2671 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 0.85
Bright Lilac
#C95EFB
ΔE00 3.51
Pinkish Purple
#D648D7
ΔE00 3.99
Bright Lavender
#C760FF
ΔE00 4.28
Pink Purple
#EF1DE7
ΔE00 5.10
Magenta
#FF00FF
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D752EF #6AEF52
analogous
#8852EF #D752EF #EF52B8
triadic
#D752EF #EFD752 #52EFD7
tetradic
#D752EF #EF8852 #6AEF52 #52B8EF
square
#D752EF #EF8852 #6AEF52 #52B8EF
split-complementary
#D752EF #B8EF52 #52EF88
monochromatic
#9D11B6 #CA1AEA #D752EF #E48AF4 #F1C2F9
Accessibility & contrast
On white
3.31
#D752EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#D752EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D752EF
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D752EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D752EF | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2184F4
Deuteranopia (green-blind)
#6392EB
Tritanopia (blue-blind)
#D96D9A
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #d752ef; /* rgb */ color: rgb(215, 82, 239); /* oklch */ color: oklch(67.5% 0.244 321.2);
Tailwind
colors: {
custom: {
50: '#e78cf5',
500: '#d752ef',
950: '#000000',
},
}SCSS
$custom: #d752ef; $custom-light: #e78cf5; $custom-dark: #000000;
JSON
{
"hex": "#d752ef",
"rgb": {
"r": 215,
"g": 82,
"b": 239
},
"hsl": {
"h": 290.828,
"s": 83.069,
"l": 62.941
},
"oklch": {
"l": 0.67536,
"c": 0.24437,
"h": 321.2
},
"luminance": 0.26714
}Semantic roles & 50–950 ramp
primary
#D752EF
secondary
#BBEBB2
accent
#DF0627
background
#FEF9FF
surface
#FDF1FE
border
#D5CBD6
text
#160D17
muted
#847E85