#E162F2#E162F2
#E162F2 is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 70.7% C 0.231 H 322.8°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #E162F2 |
|---|---|
| RGB | rgb(225, 98, 242) |
| HSL | hsl(293, 85%, 67%) |
| HSV | hsv(293, 60%, 95%) |
| CMYK | cmyk(7%, 59.5%, 0%, 5.1%) |
| CIE-LAB | lab(62.64, 68.51, -50.21) |
| CIE-LCH | lch(62.64, 84.94, 323.76°) |
| OKLab | oklab(70.71% 0.1837 -0.1395) |
| OKLCH | oklch(70.71% 0.231 322.8) |
| XYZ | xyz(51.4444, 31.1564, 87.2912) |
| Luminance | 0.3115 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.89
Light Magenta
#FA5FF7
ΔE00 3.92
Violet Pink
#FB5FFC
ΔE00 3.99
Bright Lilac
#C95EFB
ΔE00 5.07
Orchid
#DA70D6
ΔE00 5.18
Bright Lavender
#C760FF
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E162F2 #73F262
analogous
#9962F2 #E162F2 #F262BB
triadic
#E162F2 #F2E162 #62F2E1
tetradic
#E162F2 #F29962 #73F262 #62BBF2
square
#E162F2 #F29962 #73F262 #62BBF2
split-complementary
#E162F2 #BBF262 #62F299
monochromatic
#B311C9 #D629ED #E162F2 #EC9BF7 #F7D3FB
Accessibility & contrast
On white
2.90
#E162F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#E162F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E162F2
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E162F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E162F2 | 1.00 | 2.90 | 7.23 | 7.23 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#468EF6
Deuteranopia (green-blind)
#759DEE
Tritanopia (blue-blind)
#E477A1
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #e162f2; /* rgb */ color: rgb(225, 98, 242); /* oklch */ color: oklch(70.7% 0.231 322.8);
Tailwind
colors: {
custom: {
50: '#ee96f7',
500: '#e162f2',
950: '#000000',
},
}SCSS
$custom: #e162f2; $custom-light: #ee96f7; $custom-dark: #000000;
JSON
{
"hex": "#e162f2",
"rgb": {
"r": 225,
"g": 98,
"b": 242
},
"hsl": {
"h": 292.917,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.7071,
"c": 0.23064,
"h": 322.8
},
"luminance": 0.31154
}Semantic roles & 50–950 ramp
primary
#E162F2
secondary
#C6EFC1
accent
#E1041E
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E17
muted
#857E85