#E252E8#E252E8
#E252E8 is a light, highly saturated purple. Relative luminance 0.280; OKLCH L 68.6% C 0.244 H 326.2°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #E252E8 |
|---|---|
| RGB | rgb(226, 82, 232) |
| HSL | hsl(298, 77%, 62%) |
| HSV | hsv(298, 65%, 91%) |
| CMYK | cmyk(2.6%, 64.7%, 0%, 9%) |
| CIE-LAB | lab(59.92, 73.54, -48.94) |
| CIE-LCH | lch(59.92, 88.34, 326.35°) |
| OKLab | oklab(68.6% 0.2024 -0.1356) |
| OKLCH | oklch(68.6% 0.244 326.2) |
| XYZ | xyz(48.9459, 28.0327, 79.1611) |
| Luminance | 0.2803 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 2.97
Pinkish Purple
#D648D7
ΔE00 3.73
Pink Purple
#EF1DE7
ΔE00 4.37
Bright Magenta
#FF08E8
ΔE00 4.96
Magenta
#FF00FF
ΔE00 5.00
Fuchsia
#FF00FF
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E252E8 #58E852
analogous
#9752E8 #E252E8 #E852A3
triadic
#E252E8 #E8E252 #52E8E2
tetradic
#E252E8 #E89752 #58E852 #52A3E8
square
#E252E8 #E89752 #58E852 #52A3E8
split-complementary
#E252E8 #A3E852 #52E897
monochromatic
#A316A9 #D71EDF #E252E8 #EB88EF #F4BEF6
Accessibility & contrast
On white
3.18
#E252E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.61
#E252E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E252E8
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E252E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E252E8 | 1.00 | 3.18 | 6.61 | 6.61 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3885EC
Deuteranopia (green-blind)
#7297E4
Tritanopia (blue-blind)
#E86896
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #e252e8; /* rgb */ color: rgb(226, 82, 232); /* oklch */ color: oklch(68.6% 0.244 326.2);
Tailwind
colors: {
custom: {
50: '#ef8df0',
500: '#e252e8',
950: '#000000',
},
}SCSS
$custom: #e252e8; $custom-light: #ef8df0; $custom-dark: #000000;
JSON
{
"hex": "#e252e8",
"rgb": {
"r": 226,
"g": 82,
"b": 232
},
"hsl": {
"h": 297.6,
"s": 76.531,
"l": 61.569
},
"oklch": {
"l": 0.68603,
"c": 0.24366,
"h": 326.2
},
"luminance": 0.2803
}Semantic roles & 50–950 ramp
primary
#E252E8
secondary
#B1E7AF
accent
#D90D15
background
#FFF9FE
surface
#FEF1FD
border
#D6CBD5
text
#170D16
muted
#857E84