#E252D9#E252D9
#E252D9 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.8% C 0.232 H 330.4°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #E252D9 |
|---|---|
| RGB | rgb(226, 82, 217) |
| HSL | hsl(304, 71%, 60%) |
| HSV | hsv(304, 64%, 89%) |
| CMYK | cmyk(0%, 63.7%, 4%, 11.4%) |
| CIE-LAB | lab(59.17, 71.10, -41.69) |
| CIE-LCH | lch(59.17, 82.42, 329.61°) |
| OKLab | oklab(67.82% 0.2016 -0.1147) |
| OKLCH | oklch(67.82% 0.232 330.4) |
| XYZ | xyz(46.9055, 27.2165, 68.4150) |
| Luminance | 0.2721 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpleish Pink
#DF4EC8
ΔE00 2.78
Pinkish Purple
#D648D7
ΔE00 3.26
Pink Purple
#EF1DE7
ΔE00 4.60
Bright Magenta
#FF08E8
ΔE00 4.90
Heliotrope
#D94FF5
ΔE00 5.07
Orchid
#DA70D6
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E252D9 #52E25B
analogous
#A352E2 #E252D9 #E25291
triadic
#E252D9 #D9E252 #52D9E2
tetradic
#E252D9 #E2A352 #52E25B #5291E2
square
#E252D9 #E2A352 #52E25B #5291E2
split-complementary
#E252D9 #91E252 #52E2A3
monochromatic
#9F1B97 #D323C8 #E252D9 #EB86E5 #F4BBF0
Accessibility & contrast
On white
3.26
#E252D9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.44
#E252D9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E252D9
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E252D9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E252D9 | 1.00 | 3.26 | 6.44 | 6.44 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4782DD
Deuteranopia (green-blind)
#7A95D5
Tritanopia (blue-blind)
#EA628F
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #e252d9; /* rgb */ color: rgb(226, 82, 217); /* oklch */ color: oklch(67.8% 0.232 330.4);
Tailwind
colors: {
custom: {
50: '#ef8ce5',
500: '#e252d9',
950: '#000000',
},
}SCSS
$custom: #e252d9; $custom-light: #ef8ce5; $custom-dark: #000000;
JSON
{
"hex": "#e252d9",
"rgb": {
"r": 226,
"g": 82,
"b": 217
},
"hsl": {
"h": 303.75,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.67823,
"c": 0.23193,
"h": 330.4
},
"luminance": 0.27213
}Semantic roles & 50–950 ramp
primary
#E252D9
secondary
#ACE3B0
accent
#D31E12
background
#FFF9FE
surface
#FEF1FC
border
#D6CBD5
text
#170D16
muted
#857E84