#E862E4#E862E4
#E862E4 is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 70.9% C 0.223 H 328.8°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #E862E4 |
|---|---|
| RGB | rgb(232, 98, 228) |
| HSL | hsl(302, 74%, 65%) |
| HSV | hsv(302, 58%, 91%) |
| CMYK | cmyk(0%, 57.8%, 1.7%, 9%) |
| CIE-LAB | lab(62.92, 67.83, -41.91) |
| CIE-LCH | lch(62.92, 79.73, 328.29°) |
| OKLab | oklab(70.89% 0.1903 -0.1153) |
| OKLCH | oklch(70.89% 0.223 328.8) |
| XYZ | xyz(51.6494, 31.4960, 76.7427) |
| Luminance | 0.3149 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.29
Orchid
#DA70D6
ΔE00 3.43
Violet Pink
#FB5FFC
ΔE00 3.82
Candy Pink
#FF63E9
ΔE00 3.85
Purply Pink
#F075E6
ΔE00 4.08
Purpleish Pink
#DF4EC8
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E862E4 #62E866
analogous
#A962E8 #E862E4 #E862A1
triadic
#E862E4 #E4E862 #62E4E8
tetradic
#E862E4 #E8A962 #62E866 #62A1E8
square
#E862E4 #E8A962 #62E866 #62A1E8
split-complementary
#E862E4 #A1E862 #62E8A9
monochromatic
#B51BB0 #E02DDB #E862E4 #F097ED #F8CDF6
Accessibility & contrast
On white
2.88
#E862E4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#E862E4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E862E4
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E862E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E862E4 | 1.00 | 2.88 | 7.30 | 7.30 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#568DE8
Deuteranopia (green-blind)
#829FE0
Tritanopia (blue-blind)
#EF719A
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #e862e4; /* rgb */ color: rgb(232, 98, 228); /* oklch */ color: oklch(70.9% 0.223 328.8);
Tailwind
colors: {
custom: {
50: '#f296ed',
500: '#e862e4',
950: '#000000',
},
}SCSS
$custom: #e862e4; $custom-light: #f296ed; $custom-dark: #000000;
JSON
{
"hex": "#e862e4",
"rgb": {
"r": 232,
"g": 98,
"b": 228
},
"hsl": {
"h": 301.791,
"s": 74.444,
"l": 64.706
},
"oklch": {
"l": 0.70893,
"c": 0.2225,
"h": 328.8
},
"luminance": 0.31493
}Semantic roles & 50–950 ramp
primary
#E862E4
secondary
#BCEABD
accent
#D7150F
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#170E16
muted
#857E84