#E157E4#E157E4
#E157E4 is a light, highly saturated purple. Relative luminance 0.284; OKLCH L 68.8% C 0.234 H 326.9°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #E157E4 |
|---|---|
| RGB | rgb(225, 87, 228) |
| HSL | hsl(299, 72%, 62%) |
| HSV | hsv(299, 62%, 89%) |
| CMYK | cmyk(1.3%, 61.8%, 0%, 10.6%) |
| CIE-LAB | lab(60.27, 70.68, -46.15) |
| CIE-LCH | lch(60.27, 84.41, 326.86°) |
| OKLab | oklab(68.77% 0.1957 -0.1276) |
| OKLCH | oklch(68.77% 0.234 326.9) |
| XYZ | xyz(48.4623, 28.4285, 76.3184) |
| Luminance | 0.2843 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.70
Pinkish Purple
#D648D7
ΔE00 3.95
Purpleish Pink
#DF4EC8
ΔE00 4.65
Light Magenta
#FA5FF7
ΔE00 4.96
Orchid
#DA70D6
ΔE00 4.98
Pink Purple
#EF1DE7
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E157E4 #5AE457
analogous
#9A57E4 #E157E4 #E457A1
triadic
#E157E4 #E4E157 #57E4E1
tetradic
#E157E4 #E49A57 #5AE457 #57A1E4
square
#E157E4 #E49A57 #5AE457 #57A1E4
split-complementary
#E157E4 #A1E457 #57E49A
monochromatic
#A31BA6 #D723DB #E157E4 #EA8CEC #F4C0F5
Accessibility & contrast
On white
3.14
#E157E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.69
#E157E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E157E4
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E157E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E157E4 | 1.00 | 3.14 | 6.69 | 6.69 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4386E8
Deuteranopia (green-blind)
#7698E0
Tritanopia (blue-blind)
#E76A96
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #e157e4; /* rgb */ color: rgb(225, 87, 228); /* oklch */ color: oklch(68.8% 0.234 326.9);
Tailwind
colors: {
custom: {
50: '#ee8fed',
500: '#e157e4',
950: '#000000',
},
}SCSS
$custom: #e157e4; $custom-light: #ee8fed; $custom-dark: #000000;
JSON
{
"hex": "#e157e4",
"rgb": {
"r": 225,
"g": 87,
"b": 228
},
"hsl": {
"h": 298.723,
"s": 72.308,
"l": 61.765
},
"oklch": {
"l": 0.68765,
"c": 0.23361,
"h": 326.9
},
"luminance": 0.28425
}Semantic roles & 50–950 ramp
primary
#E157E4
secondary
#B2E6B1
accent
#D41115
background
#FFF9FE
surface
#FEF2FD
border
#D6CCD5
text
#170D16
muted
#857E84