#E462E4#E462E4
#E462E4 is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.4% C 0.220 H 327.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #E462E4 |
|---|---|
| RGB | rgb(228, 98, 228) |
| HSL | hsl(300, 71%, 64%) |
| HSV | hsv(300, 57%, 89%) |
| CMYK | cmyk(0%, 57%, 0%, 10.6%) |
| CIE-LAB | lab(62.37, 66.82, -42.82) |
| CIE-LCH | lch(62.37, 79.36, 327.34°) |
| OKLab | oklab(70.37% 0.186 -0.118) |
| OKLCH | oklch(70.37% 0.22 327.6) |
| XYZ | xyz(50.3654, 30.8339, 76.6825) |
| Luminance | 0.3083 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.40
Light Magenta
#FA5FF7
ΔE00 3.73
Violet Pink
#FB5FFC
ΔE00 4.19
Candy Pink
#FF63E9
ΔE00 4.55
Purply Pink
#F075E6
ΔE00 4.58
Heliotrope
#D94FF5
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E462E4 #62E462
analogous
#A362E4 #E462E4 #E462A3
triadic
#E462E4 #E4E462 #62E4E4
tetradic
#E462E4 #E4A362 #62E462 #62A3E4
square
#E462E4 #E4A362 #62E462 #62A3E4
split-complementary
#E462E4 #A3E462 #62E4A3
monochromatic
#AE1EAE #DB2EDB #E462E4 #ED96ED #F6CAF6
Accessibility & contrast
On white
2.93
#E462E4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#E462E4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E462E4
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E462E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E462E4 | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#548CE8
Deuteranopia (green-blind)
#7F9DE0
Tritanopia (blue-blind)
#EA729A
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #e462e4; /* rgb */ color: rgb(228, 98, 228); /* oklch */ color: oklch(70.4% 0.220 327.6);
Tailwind
colors: {
custom: {
50: '#ef95ed',
500: '#e462e4',
950: '#000000',
},
}SCSS
$custom: #e462e4; $custom-light: #ef95ed; $custom-dark: #000000;
JSON
{
"hex": "#e462e4",
"rgb": {
"r": 228,
"g": 98,
"b": 228
},
"hsl": {
"h": 300,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.70374,
"c": 0.22026,
"h": 327.6
},
"luminance": 0.30831
}Semantic roles & 50–950 ramp
primary
#E462E4
secondary
#BAE8BA
accent
#D31313
background
#FFF9FE
surface
#FEF2FD
border
#D6CCD5
text
#170E16
muted
#857E84