#E157F2#E157F2
#E157F2 is a light, highly saturated purple. Relative luminance 0.292; OKLCH L 69.5% C 0.245 H 323.2°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #E157F2 |
|---|---|
| RGB | rgb(225, 87, 242) |
| HSL | hsl(293, 86%, 65%) |
| HSV | hsv(293, 64%, 95%) |
| CMYK | cmyk(7%, 64%, 0%, 5.1%) |
| CIE-LAB | lab(60.99, 73.07, -52.82) |
| CIE-LCH | lch(60.99, 90.17, 324.14°) |
| OKLab | oklab(69.52% 0.1962 -0.147) |
| OKLCH | oklch(69.52% 0.245 323.2) |
| XYZ | xyz(50.4850, 29.2376, 86.9714) |
| Luminance | 0.2923 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 2.34
Bright Lilac
#C95EFB
ΔE00 4.54
Light Magenta
#FA5FF7
ΔE00 4.80
Violet Pink
#FB5FFC
ΔE00 4.88
Pinkish Purple
#D648D7
ΔE00 5.08
Bright Lavender
#C760FF
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E157F2 #68F257
analogous
#9357F2 #E157F2 #F257B6
triadic
#E157F2 #F2E157 #57F2E1
tetradic
#E157F2 #F29357 #68F257 #57B6F2
square
#E157F2 #F29357 #68F257 #57B6F2
split-complementary
#E157F2 #B6F257 #57F293
monochromatic
#AC0FC0 #D71EEE #E157F2 #EB90F6 #F5C9FB
Accessibility & contrast
On white
3.07
#E157F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.85
#E157F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E157F2
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E157F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E157F2 | 1.00 | 3.07 | 6.85 | 6.85 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3389F7
Deuteranopia (green-blind)
#6E99EE
Tritanopia (blue-blind)
#E4709D
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #e157f2; /* rgb */ color: rgb(225, 87, 242); /* oklch */ color: oklch(69.5% 0.245 323.2);
Tailwind
colors: {
custom: {
50: '#ee90f7',
500: '#e157f2',
950: '#000000',
},
}SCSS
$custom: #e157f2; $custom-light: #ee90f7; $custom-dark: #000000;
JSON
{
"hex": "#e157f2",
"rgb": {
"r": 225,
"g": 87,
"b": 242
},
"hsl": {
"h": 293.419,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.69516,
"c": 0.24512,
"h": 323.2
},
"luminance": 0.29235
}Semantic roles & 50–950 ramp
primary
#E157F2
secondary
#BEEDB8
accent
#E2031C
background
#FFF9FF
surface
#FEF2FF
border
#D6CCD7
text
#170D17
muted
#857E85