#E252E9#E252E9
#E252E9 is a light, highly saturated purple. Relative luminance 0.281; OKLCH L 68.7% C 0.244 H 325.9°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #E252E9 |
|---|---|
| RGB | rgb(226, 82, 233) |
| HSL | hsl(297, 77%, 62%) |
| HSV | hsv(297, 65%, 91%) |
| CMYK | cmyk(3%, 64.8%, 0%, 8.6%) |
| CIE-LAB | lab(59.97, 73.70, -49.42) |
| CIE-LCH | lch(59.97, 88.74, 326.16°) |
| OKLab | oklab(68.66% 0.2024 -0.137) |
| OKLCH | oklch(68.66% 0.244 325.9) |
| XYZ | xyz(49.0883, 28.0896, 79.9113) |
| Luminance | 0.2809 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 2.85
Pinkish Purple
#D648D7
ΔE00 3.82
Pink Purple
#EF1DE7
ΔE00 4.39
Magenta
#FF00FF
ΔE00 4.95
Fuchsia
#FF00FF
ΔE00 4.95
Bright Magenta
#FF08E8
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E252E9 #59E952
analogous
#9752E9 #E252E9 #E952A4
triadic
#E252E9 #E9E252 #52E9E2
tetradic
#E252E9 #E99752 #59E952 #52A4E9
square
#E252E9 #E99752 #59E952 #52A4E9
split-complementary
#E252E9 #A4E952 #52E997
monochromatic
#A416AB #D81DE1 #E252E9 #EB88F0 #F4BFF7
Accessibility & contrast
On white
3.17
#E252E9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.62
#E252E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E252E9
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E252E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E252E9 | 1.00 | 3.17 | 6.62 | 6.62 |
| #FFFFFF | 3.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3785ED
Deuteranopia (green-blind)
#7197E5
Tritanopia (blue-blind)
#E76897
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #e252e9; /* rgb */ color: rgb(226, 82, 233); /* oklch */ color: oklch(68.7% 0.244 325.9);
Tailwind
colors: {
custom: {
50: '#ef8df0',
500: '#e252e9',
950: '#000000',
},
}SCSS
$custom: #e252e9; $custom-light: #ef8df0; $custom-dark: #000000;
JSON
{
"hex": "#e252e9",
"rgb": {
"r": 226,
"g": 82,
"b": 233
},
"hsl": {
"h": 297.219,
"s": 77.436,
"l": 61.765
},
"oklch": {
"l": 0.68656,
"c": 0.24446,
"h": 325.9
},
"luminance": 0.28087
}Semantic roles & 50–950 ramp
primary
#E252E9
secondary
#B2E7AF
accent
#DA0C15
background
#FFF9FE
surface
#FEF1FD
border
#D6CBD5
text
#170D17
muted
#857E85