#E252E2#E252E2
#E252E2 is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.3% C 0.239 H 327.8°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #E252E2 |
|---|---|
| RGB | rgb(226, 82, 226) |
| HSL | hsl(300, 71%, 60%) |
| HSV | hsv(300, 64%, 89%) |
| CMYK | cmyk(0%, 63.7%, 0%, 11.4%) |
| CIE-LAB | lab(59.61, 72.55, -46.06) |
| CIE-LCH | lch(59.61, 85.93, 327.59°) |
| OKLab | oklab(68.29% 0.2022 -0.1273) |
| OKLCH | oklch(68.29% 0.239 327.8) |
| XYZ | xyz(48.1081, 27.6976, 74.7490) |
| Luminance | 0.2769 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinkish Purple
#D648D7
ΔE00 3.35
Heliotrope
#D94FF5
ΔE00 3.76
Purpleish Pink
#DF4EC8
ΔE00 4.16
Pink Purple
#EF1DE7
ΔE00 4.31
Bright Magenta
#FF08E8
ΔE00 4.81
Magenta
#FF00FF
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E252E2 #52E252
analogous
#9A52E2 #E252E2 #E2529A
triadic
#E252E2 #E2E252 #52E2E2
tetradic
#E252E2 #E29A52 #52E252 #529AE2
square
#E252E2 #E29A52 #52E252 #529AE2
split-complementary
#E252E2 #9AE252 #52E29A
monochromatic
#9F1B9F #D323D3 #E252E2 #EB86EB #F4BBF4
Accessibility & contrast
On white
3.21
#E252E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.54
#E252E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E252E2
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E252E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E252E2 | 1.00 | 3.21 | 6.54 | 6.54 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E84E6
Deuteranopia (green-blind)
#7596DE
Tritanopia (blue-blind)
#E96593
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #e252e2; /* rgb */ color: rgb(226, 82, 226); /* oklch */ color: oklch(68.3% 0.239 327.8);
Tailwind
colors: {
custom: {
50: '#ef8deb',
500: '#e252e2',
950: '#000000',
},
}SCSS
$custom: #e252e2; $custom-light: #ef8deb; $custom-dark: #000000;
JSON
{
"hex": "#e252e2",
"rgb": {
"r": 226,
"g": 82,
"b": 226
},
"hsl": {
"h": 300,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.68285,
"c": 0.2389,
"h": 327.8
},
"luminance": 0.27694
}Semantic roles & 50–950 ramp
primary
#E252E2
secondary
#ACE3AC
accent
#D31212
background
#FFF9FE
surface
#FEF1FD
border
#D6CBD5
text
#170D16
muted
#857E84