#E040E2#E040E2
#E040E2 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 66.4% C 0.258 H 327.5°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #E040E2 |
|---|---|
| RGB | rgb(224, 64, 226) |
| HSL | hsl(299, 74%, 57%) |
| HSV | hsv(299, 72%, 89%) |
| CMYK | cmyk(0.9%, 71.7%, 0%, 11.4%) |
| CIE-LAB | lab(57.08, 78.40, -50.09) |
| CIE-LCH | lch(57.08, 93.04, 327.42°) |
| OKLab | oklab(66.41% 0.2178 -0.1389) |
| OKLCH | oklch(66.41% 0.258 327.5) |
| XYZ | xyz(46.3007, 25.0084, 74.3252) |
| Luminance | 0.2500 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinkish Purple
#D648D7
ΔE00 1.91
Pink Purple
#EF1DE7
ΔE00 2.43
Fuchsia (survey)
#ED0DD9
ΔE00 3.48
Heliotrope
#D94FF5
ΔE00 3.62
Purple Pink
#D725DE
ΔE00 4.06
Bright Magenta
#FF08E8
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E040E2 #42E240
analogous
#8F40E2 #E040E2 #E24093
triadic
#E040E2 #E2E040 #40E2E0
tetradic
#E040E2 #E28F40 #42E240 #4093E2
square
#E040E2 #E28F40 #42E240 #4093E2
split-complementary
#E040E2 #93E240 #40E28F
monochromatic
#901692 #C51EC7 #E040E2 #E975EA #F1AAF2
Accessibility & contrast
On white
3.50
#E040E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.00
#E040E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E040E2
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E040E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E040E2 | 1.00 | 3.50 | 6.00 | 6.00 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C7CE6
Deuteranopia (green-blind)
#6A90DE
Tritanopia (blue-blind)
#E75A8E
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #e040e2; /* rgb */ color: rgb(224, 64, 226); /* oklch */ color: oklch(66.4% 0.258 327.5);
Tailwind
colors: {
custom: {
50: '#ee84ec',
500: '#e040e2',
950: '#000000',
},
}SCSS
$custom: #e040e2; $custom-light: #ee84ec; $custom-dark: #000000;
JSON
{
"hex": "#e040e2",
"rgb": {
"r": 224,
"g": 64,
"b": 226
},
"hsl": {
"h": 299.259,
"s": 73.636,
"l": 56.863
},
"oklch": {
"l": 0.66405,
"c": 0.25836,
"h": 327.5
},
"luminance": 0.25005
}Semantic roles & 50–950 ramp
primary
#E040E2
secondary
#9FE09E
accent
#F0383A
background
#FFF8FE
surface
#FEF0FD
border
#D6CBD5
text
#170C16
muted
#857D84