#E252E3#E252E3
#E252E3 is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.3% C 0.240 H 327.5°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #E252E3 |
|---|---|
| RGB | rgb(226, 82, 227) |
| HSL | hsl(300, 72%, 61%) |
| HSV | hsv(300, 64%, 89%) |
| CMYK | cmyk(0.4%, 63.9%, 0%, 11%) |
| CIE-LAB | lab(59.66, 72.71, -46.54) |
| CIE-LCH | lch(59.66, 86.33, 327.38°) |
| OKLab | oklab(68.34% 0.2022 -0.1287) |
| OKLCH | oklch(68.34% 0.24 327.5) |
| XYZ | xyz(48.2457, 27.7526, 75.4738) |
| Luminance | 0.2775 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinkish Purple
#D648D7
ΔE00 3.40
Heliotrope
#D94FF5
ΔE00 3.62
Pink Purple
#EF1DE7
ΔE00 4.30
Purpleish Pink
#DF4EC8
ΔE00 4.31
Bright Magenta
#FF08E8
ΔE00 4.82
Magenta
#FF00FF
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E252E3 #53E352
analogous
#9952E3 #E252E3 #E3529B
triadic
#E252E3 #E3E252 #52E3E2
tetradic
#E252E3 #E39952 #53E352 #529BE3
square
#E252E3 #E39952 #53E352 #529BE3
split-complementary
#E252E3 #9BE352 #52E399
monochromatic
#A01AA1 #D423D5 #E252E3 #EB87EC #F4BBF4
Accessibility & contrast
On white
3.21
#E252E3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.55
#E252E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E252E3
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E252E3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E252E3 | 1.00 | 3.21 | 6.55 | 6.55 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D84E7
Deuteranopia (green-blind)
#7596DF
Tritanopia (blue-blind)
#E96694
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #e252e3; /* rgb */ color: rgb(226, 82, 227); /* oklch */ color: oklch(68.3% 0.240 327.5);
Tailwind
colors: {
custom: {
50: '#ef8dec',
500: '#e252e3',
950: '#000000',
},
}SCSS
$custom: #e252e3; $custom-light: #ef8dec; $custom-dark: #000000;
JSON
{
"hex": "#e252e3",
"rgb": {
"r": 226,
"g": 82,
"b": 227
},
"hsl": {
"h": 299.586,
"s": 72.139,
"l": 60.588
},
"oklch": {
"l": 0.68337,
"c": 0.2397,
"h": 327.5
},
"luminance": 0.27749
}Semantic roles & 50–950 ramp
primary
#E252E3
secondary
#ADE4AD
accent
#D41113
background
#FFF9FE
surface
#FEF1FD
border
#D6CBD5
text
#170D16
muted
#857E84