#E162F8#E162F8
#E162F8 is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 71.0% C 0.236 H 321.2°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #E162F8 |
|---|---|
| RGB | rgb(225, 98, 248) |
| HSL | hsl(291, 91%, 68%) |
| HSV | hsv(291, 60%, 97%) |
| CMYK | cmyk(9.3%, 60.5%, 0%, 2.7%) |
| CIE-LAB | lab(62.95, 69.59, -53.04) |
| CIE-LCH | lch(62.95, 87.50, 322.69°) |
| OKLab | oklab(71.03% 0.184 -0.1477) |
| OKLCH | oklch(71.03% 0.236 321.2) |
| XYZ | xyz(52.3604, 31.5228, 92.1152) |
| Luminance | 0.3152 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.78
Violet Pink
#FB5FFC
ΔE00 4.09
Light Magenta
#FA5FF7
ΔE00 4.17
Bright Lilac
#C95EFB
ΔE00 4.64
Bright Lavender
#C760FF
ΔE00 5.05
Orchid
#DA70D6
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E162F8 #79F862
analogous
#9662F8 #E162F8 #F862C4
triadic
#E162F8 #F8E162 #62F8E1
tetradic
#E162F8 #F89662 #79F862 #62C4F8
square
#E162F8 #F89662 #79F862 #62C4F8
split-complementary
#E162F8 #C4F862 #62F896
monochromatic
#B70AD6 #D627F5 #E162F8 #EC9DFB #F7D7FD
Accessibility & contrast
On white
2.88
#E162F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#E162F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E162F8
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E162F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E162F8 | 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)
#408FFD
Deuteranopia (green-blind)
#729DF4
Tritanopia (blue-blind)
#E37AA4
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #e162f8; /* rgb */ color: rgb(225, 98, 248); /* oklch */ color: oklch(71.0% 0.236 321.2);
Tailwind
colors: {
custom: {
50: '#ee96fb',
500: '#e162f8',
950: '#000000',
},
}SCSS
$custom: #e162f8; $custom-light: #ee96fb; $custom-dark: #000000;
JSON
{
"hex": "#e162f8",
"rgb": {
"r": 225,
"g": 98,
"b": 248
},
"hsl": {
"h": 290.8,
"s": 91.463,
"l": 67.843
},
"oklch": {
"l": 0.71033,
"c": 0.2359,
"h": 321.2
},
"luminance": 0.3152
}Semantic roles & 50–950 ramp
primary
#E162F8
secondary
#CBF2C4
accent
#E60023
background
#FFF9FF
surface
#FEF2FF
border
#D6CCD7
text
#170E17
muted
#857E85