#E252E4#E252E4
#E252E4 is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.4% C 0.240 H 327.3°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #E252E4 |
|---|---|
| RGB | rgb(226, 82, 228) |
| HSL | hsl(299, 73%, 61%) |
| HSV | hsv(299, 64%, 89%) |
| CMYK | cmyk(0.9%, 64%, 0%, 10.6%) |
| CIE-LAB | lab(59.71, 72.87, -47.03) |
| CIE-LCH | lch(59.71, 86.73, 327.17°) |
| OKLab | oklab(68.39% 0.2023 -0.1301) |
| OKLCH | oklch(68.39% 0.24 327.3) |
| XYZ | xyz(48.3842, 27.8080, 76.2028) |
| Luminance | 0.2781 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinkish Purple
#D648D7
ΔE00 3.46
Heliotrope
#D94FF5
ΔE00 3.48
Pink Purple
#EF1DE7
ΔE00 4.30
Purpleish Pink
#DF4EC8
ΔE00 4.46
Bright Magenta
#FF08E8
ΔE00 4.84
Magenta
#FF00FF
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E252E4 #54E452
analogous
#9952E4 #E252E4 #E4529D
triadic
#E252E4 #E4E252 #52E4E2
tetradic
#E252E4 #E49952 #54E452 #529DE4
square
#E252E4 #E49952 #54E452 #529DE4
split-complementary
#E252E4 #9DE452 #52E499
monochromatic
#A019A2 #D522D7 #E252E4 #EB87EC #F4BCF5
Accessibility & contrast
On white
3.20
#E252E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.56
#E252E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E252E4
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E252E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E252E4 | 1.00 | 3.20 | 6.56 | 6.56 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C84E8
Deuteranopia (green-blind)
#7496E0
Tritanopia (blue-blind)
#E86694
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #e252e4; /* rgb */ color: rgb(226, 82, 228); /* oklch */ color: oklch(68.4% 0.240 327.3);
Tailwind
colors: {
custom: {
50: '#ef8ded',
500: '#e252e4',
950: '#000000',
},
}SCSS
$custom: #e252e4; $custom-light: #ef8ded; $custom-dark: #000000;
JSON
{
"hex": "#e252e4",
"rgb": {
"r": 226,
"g": 82,
"b": 228
},
"hsl": {
"h": 299.178,
"s": 73,
"l": 60.784
},
"oklch": {
"l": 0.6839,
"c": 0.24048,
"h": 327.3
},
"luminance": 0.27805
}Semantic roles & 50–950 ramp
primary
#E252E4
secondary
#AEE5AD
accent
#D51013
background
#FFF9FE
surface
#FEF1FD
border
#D6CBD5
text
#170D16
muted
#857E84