#E152E7#E152E7
#E152E7 is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.4% C 0.242 H 326.2°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #E152E7 |
|---|---|
| RGB | rgb(225, 82, 231) |
| HSL | hsl(298, 76%, 61%) |
| HSV | hsv(298, 65%, 91%) |
| CMYK | cmyk(2.6%, 64.5%, 0%, 9.4%) |
| CIE-LAB | lab(59.72, 73.14, -48.71) |
| CIE-LCH | lch(59.72, 87.88, 326.34°) |
| OKLab | oklab(68.42% 0.2013 -0.135) |
| OKLCH | oklch(68.42% 0.242 326.2) |
| XYZ | xyz(48.4915, 27.8147, 78.4005) |
| Luminance | 0.2781 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 2.96
Pinkish Purple
#D648D7
ΔE00 3.55
Pink Purple
#EF1DE7
ΔE00 4.33
Purpleish Pink
#DF4EC8
ΔE00 4.94
Bright Magenta
#FF08E8
ΔE00 5.01
Magenta
#FF00FF
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E152E7 #58E752
analogous
#9752E7 #E152E7 #E752A3
triadic
#E152E7 #E7E152 #52E7E1
tetradic
#E152E7 #E79752 #58E752 #52A3E7
square
#E152E7 #E79752 #58E752 #52A3E7
split-complementary
#E152E7 #A3E752 #52E797
monochromatic
#A217A7 #D51FDD #E152E7 #EA88EE #F4BDF6
Accessibility & contrast
On white
3.20
#E152E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.56
#E152E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E152E7
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E152E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E152E7 | 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)
#3884EB
Deuteranopia (green-blind)
#7296E3
Tritanopia (blue-blind)
#E76896
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #e152e7; /* rgb */ color: rgb(225, 82, 231); /* oklch */ color: oklch(68.4% 0.242 326.2);
Tailwind
colors: {
custom: {
50: '#ee8def',
500: '#e152e7',
950: '#000000',
},
}SCSS
$custom: #e152e7; $custom-light: #ee8def; $custom-dark: #000000;
JSON
{
"hex": "#e152e7",
"rgb": {
"r": 225,
"g": 82,
"b": 231
},
"hsl": {
"h": 297.584,
"s": 75.635,
"l": 61.373
},
"oklch": {
"l": 0.68415,
"c": 0.24237,
"h": 326.2
},
"luminance": 0.27812
}Semantic roles & 50–950 ramp
primary
#E152E7
secondary
#B1E6AF
accent
#D80E16
background
#FFF9FE
surface
#FEF1FD
border
#D6CBD5
text
#170D16
muted
#857E84