#E254F2#E254F2
#E254F2 is a light, highly saturated purple. Relative luminance 0.289; OKLCH L 69.3% C 0.249 H 323.5°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #E254F2 |
|---|---|
| RGB | rgb(226, 84, 242) |
| HSL | hsl(294, 86%, 64%) |
| HSV | hsv(294, 65%, 95%) |
| CMYK | cmyk(6.6%, 65.3%, 0%, 5.1%) |
| CIE-LAB | lab(60.71, 74.47, -53.26) |
| CIE-LCH | lch(60.71, 91.55, 324.43°) |
| OKLab | oklab(69.35% 0.2005 -0.1482) |
| OKLCH | oklch(69.35% 0.249 323.5) |
| XYZ | xyz(50.5599, 28.9231, 86.9068) |
| Luminance | 0.2892 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 2.17
Bright Lilac
#C95EFB
ΔE00 4.66
Magenta
#FF00FF
ΔE00 4.86
Fuchsia
#FF00FF
ΔE00 4.86
Pinkish Purple
#D648D7
ΔE00 4.87
Light Magenta
#FA5FF7
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E254F2 #64F254
analogous
#9354F2 #E254F2 #F254B3
triadic
#E254F2 #F2E254 #54F2E2
tetradic
#E254F2 #F29354 #64F254 #54B3F2
square
#E254F2 #F29354 #64F254 #54B3F2
split-complementary
#E254F2 #B3F254 #54F293
monochromatic
#AC0EBD #D81BEE #E254F2 #EC8DF6 #F5C6FB
Accessibility & contrast
On white
3.10
#E254F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.78
#E254F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E254F2
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E254F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E254F2 | 1.00 | 3.10 | 6.78 | 6.78 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E88F7
Deuteranopia (green-blind)
#6D98EE
Tritanopia (blue-blind)
#E66D9C
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #e254f2; /* rgb */ color: rgb(226, 84, 242); /* oklch */ color: oklch(69.3% 0.249 323.5);
Tailwind
colors: {
custom: {
50: '#ef8ef7',
500: '#e254f2',
950: '#000000',
},
}SCSS
$custom: #e254f2; $custom-light: #ef8ef7; $custom-dark: #000000;
JSON
{
"hex": "#e254f2",
"rgb": {
"r": 226,
"g": 84,
"b": 242
},
"hsl": {
"h": 293.924,
"s": 85.87,
"l": 63.922
},
"oklch": {
"l": 0.69345,
"c": 0.24929,
"h": 323.5
},
"luminance": 0.2892
}Semantic roles & 50–950 ramp
primary
#E254F2
secondary
#BBEDB5
accent
#E2031A
background
#FFF9FF
surface
#FEF1FF
border
#D6CBD7
text
#170D17
muted
#857E85