#E257F2#E257F2
#E257F2 is a light, highly saturated purple. Relative luminance 0.294; OKLCH L 69.6% C 0.246 H 323.4°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #E257F2 |
|---|---|
| RGB | rgb(226, 87, 242) |
| HSL | hsl(294, 86%, 65%) |
| HSV | hsv(294, 64%, 95%) |
| CMYK | cmyk(6.6%, 64%, 0%, 5.1%) |
| CIE-LAB | lab(61.13, 73.30, -52.59) |
| CIE-LCH | lch(61.13, 90.21, 324.34°) |
| OKLab | oklab(69.65% 0.1973 -0.1463) |
| OKLCH | oklch(69.65% 0.246 323.4) |
| XYZ | xyz(50.7977, 29.3988, 86.9861) |
| Luminance | 0.2940 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 2.50
Light Magenta
#FA5FF7
ΔE00 4.63
Bright Lilac
#C95EFB
ΔE00 4.70
Violet Pink
#FB5FFC
ΔE00 4.72
Magenta
#FF00FF
ΔE00 5.14
Fuchsia
#FF00FF
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E257F2 #67F257
analogous
#9457F2 #E257F2 #F257B5
triadic
#E257F2 #F2E257 #57F2E2
tetradic
#E257F2 #F29457 #67F257 #57B5F2
square
#E257F2 #F29457 #67F257 #57B5F2
split-complementary
#E257F2 #B5F257 #57F294
monochromatic
#AD0FC0 #D81EEE #E257F2 #EC90F6 #F6C9FB
Accessibility & contrast
On white
3.05
#E257F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.88
#E257F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E257F2
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E257F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E257F2 | 1.00 | 3.05 | 6.88 | 6.88 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3489F7
Deuteranopia (green-blind)
#6F99EE
Tritanopia (blue-blind)
#E66F9D
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #e257f2; /* rgb */ color: rgb(226, 87, 242); /* oklch */ color: oklch(69.6% 0.246 323.4);
Tailwind
colors: {
custom: {
50: '#ef90f7',
500: '#e257f2',
950: '#000000',
},
}SCSS
$custom: #e257f2; $custom-light: #ef90f7; $custom-dark: #000000;
JSON
{
"hex": "#e257f2",
"rgb": {
"r": 226,
"g": 87,
"b": 242
},
"hsl": {
"h": 293.806,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.69646,
"c": 0.24558,
"h": 323.4
},
"luminance": 0.29396
}Semantic roles & 50–950 ramp
primary
#E257F2
secondary
#BDEDB8
accent
#E2031A
background
#FFF9FF
surface
#FEF2FF
border
#D6CCD7
text
#170D17
muted
#857E85