#E252DF#E252DF
#E252DF is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 68.1% C 0.237 H 328.6°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #E252DF |
|---|---|
| RGB | rgb(226, 82, 223) |
| HSL | hsl(301, 71%, 60%) |
| HSV | hsv(301, 64%, 89%) |
| CMYK | cmyk(0%, 63.7%, 1.3%, 11.4%) |
| CIE-LAB | lab(59.47, 72.06, -44.61) |
| CIE-LCH | lch(59.47, 84.75, 328.24°) |
| OKLab | oklab(68.13% 0.202 -0.1231) |
| OKLCH | oklch(68.13% 0.237 328.6) |
| XYZ | xyz(47.7001, 27.5343, 72.6000) |
| Luminance | 0.2753 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinkish Purple
#D648D7
ΔE00 3.25
Purpleish Pink
#DF4EC8
ΔE00 3.70
Heliotrope
#D94FF5
ΔE00 4.18
Pink Purple
#EF1DE7
ΔE00 4.35
Bright Magenta
#FF08E8
ΔE00 4.79
Orchid
#DA70D6
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E252DF #52E255
analogous
#9D52E2 #E252DF #E25297
triadic
#E252DF #DFE252 #52DFE2
tetradic
#E252DF #E29D52 #52E255 #5297E2
square
#E252DF #E29D52 #52E255 #5297E2
split-complementary
#E252DF #97E252 #52E29D
monochromatic
#9F1B9C #D323D0 #E252DF #EB86E9 #F4BBF2
Accessibility & contrast
On white
3.23
#E252DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.51
#E252DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E252DF
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E252DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E252DF | 1.00 | 3.23 | 6.51 | 6.51 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4183E3
Deuteranopia (green-blind)
#7796DB
Tritanopia (blue-blind)
#E96492
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #e252df; /* rgb */ color: rgb(226, 82, 223); /* oklch */ color: oklch(68.1% 0.237 328.6);
Tailwind
colors: {
custom: {
50: '#ef8de9',
500: '#e252df',
950: '#000000',
},
}SCSS
$custom: #e252df; $custom-light: #ef8de9; $custom-dark: #000000;
JSON
{
"hex": "#e252df",
"rgb": {
"r": 226,
"g": 82,
"b": 223
},
"hsl": {
"h": 301.25,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.68129,
"c": 0.23656,
"h": 328.6
},
"luminance": 0.27531
}Semantic roles & 50–950 ramp
primary
#E252DF
secondary
#ACE3AE
accent
#D31612
background
#FFF9FE
surface
#FEF1FD
border
#D6CBD5
text
#170D16
muted
#857E84