#E257FC#E257FC
#E257FC is a light, highly saturated purple. Relative luminance 0.300; OKLCH L 70.2% C 0.254 H 321.0°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #E257FC |
|---|---|
| RGB | rgb(226, 87, 252) |
| HSL | hsl(291, 96%, 66%) |
| HSV | hsv(291, 65%, 99%) |
| CMYK | cmyk(10.3%, 65.5%, 0%, 1.2%) |
| CIE-LAB | lab(61.67, 75.05, -57.28) |
| CIE-LCH | lch(61.67, 94.41, 322.65°) |
| OKLab | oklab(70.21% 0.1973 -0.1599) |
| OKLCH | oklch(70.21% 0.254 321) |
| XYZ | xyz(52.3409, 30.0161, 95.1133) |
| Luminance | 0.3001 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 2.42
Bright Lilac
#C95EFB
ΔE00 4.03
Bright Lavender
#C760FF
ΔE00 4.53
Violet Pink
#FB5FFC
ΔE00 4.88
Light Magenta
#FA5FF7
ΔE00 5.00
Magenta
#FF00FF
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E257FC #71FC57
analogous
#9057FC #E257FC #FC57C4
triadic
#E257FC #FCE257 #57FCE2
tetradic
#E257FC #FC9057 #71FC57 #57C4FC
square
#E257FC #FC9057 #71FC57 #57C4FC
split-complementary
#E257FC #C4FC57 #57FC90
monochromatic
#B404D5 #D81BFB #E257FC #EC93FD #F7CFFE
Accessibility & contrast
On white
3.00
#E257FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
7.00
#E257FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E257FC
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E257FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E257FC | 1.00 | 3.00 | 7.00 | 7.00 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#238BFF
Deuteranopia (green-blind)
#689AF8
Tritanopia (blue-blind)
#E473A3
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #e257fc; /* rgb */ color: rgb(226, 87, 252); /* oklch */ color: oklch(70.2% 0.254 321.0);
Tailwind
colors: {
custom: {
50: '#ef90fe',
500: '#e257fc',
950: '#000000',
},
}SCSS
$custom: #e257fc; $custom-light: #ef90fe; $custom-dark: #000000;
JSON
{
"hex": "#e257fc",
"rgb": {
"r": 226,
"g": 87,
"b": 252
},
"hsl": {
"h": 290.545,
"s": 96.491,
"l": 66.471
},
"oklch": {
"l": 0.70206,
"c": 0.25395,
"h": 321
},
"luminance": 0.30013
}Semantic roles & 50–950 ramp
primary
#E257FC
secondary
#C5F2BD
accent
#E60024
background
#FFF9FF
surface
#FEF2FF
border
#D6CCD7
text
#170D18
muted
#857E86