#E157FC#E157FC
#E157FC is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 70.1% C 0.254 H 320.7°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #E157FC |
|---|---|
| RGB | rgb(225, 87, 252) |
| HSL | hsl(290, 96%, 66%) |
| HSV | hsv(290, 65%, 99%) |
| CMYK | cmyk(10.7%, 65.5%, 0%, 1.2%) |
| CIE-LAB | lab(61.53, 74.84, -57.51) |
| CIE-LCH | lch(61.53, 94.38, 322.46°) |
| OKLab | oklab(70.08% 0.1962 -0.1606) |
| OKLCH | oklch(70.08% 0.254 320.7) |
| XYZ | xyz(52.0282, 29.8548, 95.0986) |
| Luminance | 0.2985 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 2.29
Bright Lilac
#C95EFB
ΔE00 3.86
Bright Lavender
#C760FF
ΔE00 4.37
Violet Pink
#FB5FFC
ΔE00 5.05
Light Magenta
#FA5FF7
ΔE00 5.17
Magenta
#FF00FF
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E157FC #72FC57
analogous
#8F57FC #E157FC #FC57C5
triadic
#E157FC #FCE157 #57FCE1
tetradic
#E157FC #FC8F57 #72FC57 #57C5FC
square
#E157FC #FC8F57 #72FC57 #57C5FC
split-complementary
#E157FC #C5FC57 #57FC8F
monochromatic
#B304D5 #D61BFB #E157FC #EC93FD #F6CFFE
Accessibility & contrast
On white
3.01
#E157FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.97
#E157FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E157FC
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E157FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E157FC | 1.00 | 3.01 | 6.97 | 6.97 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#218BFF
Deuteranopia (green-blind)
#679AF8
Tritanopia (blue-blind)
#E274A3
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #e157fc; /* rgb */ color: rgb(225, 87, 252); /* oklch */ color: oklch(70.1% 0.254 320.7);
Tailwind
colors: {
custom: {
50: '#ee90fe',
500: '#e157fc',
950: '#000000',
},
}SCSS
$custom: #e157fc; $custom-light: #ee90fe; $custom-dark: #000000;
JSON
{
"hex": "#e157fc",
"rgb": {
"r": 225,
"g": 87,
"b": 252
},
"hsl": {
"h": 290.182,
"s": 96.491,
"l": 66.471
},
"oklch": {
"l": 0.70077,
"c": 0.25354,
"h": 320.7
},
"luminance": 0.29852
}Semantic roles & 50–950 ramp
primary
#E157FC
secondary
#C5F2BD
accent
#E60026
background
#FFF9FF
surface
#FEF2FF
border
#D6CCD7
text
#170D18
muted
#857E86