#E162E7#E162E7
#E162E7 is a light, highly saturated purple. Relative luminance 0.305; OKLCH L 70.1% C 0.221 H 325.8°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #E162E7 |
|---|---|
| RGB | rgb(225, 98, 231) |
| HSL | hsl(297, 73%, 65%) |
| HSV | hsv(297, 58%, 91%) |
| CMYK | cmyk(2.6%, 57.6%, 0%, 9.4%) |
| CIE-LAB | lab(62.10, 66.58, -44.95) |
| CIE-LCH | lch(62.10, 80.33, 325.97°) |
| OKLab | oklab(70.14% 0.183 -0.1242) |
| OKLCH | oklch(70.14% 0.221 325.8) |
| XYZ | xyz(49.8418, 30.5153, 78.8506) |
| Luminance | 0.3051 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.81
Light Magenta
#FA5FF7
ΔE00 3.97
Violet Pink
#FB5FFC
ΔE00 4.32
Heliotrope
#D94FF5
ΔE00 4.63
Purply Pink
#F075E6
ΔE00 5.13
Candy Pink
#FF63E9
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E162E7 #68E762
analogous
#9E62E7 #E162E7 #E762AB
triadic
#E162E7 #E7E162 #62E7E1
tetradic
#E162E7 #E79E62 #68E762 #62ABE7
square
#E162E7 #E79E62 #68E762 #62ABE7
split-complementary
#E162E7 #ABE762 #62E79E
monochromatic
#AC1BB3 #D72DDF #E162E7 #EB97EF #F5CCF7
Accessibility & contrast
On white
2.96
#E162E7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.10
#E162E7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E162E7
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E162E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E162E7 | 1.00 | 2.96 | 7.10 | 7.10 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#508CEB
Deuteranopia (green-blind)
#7B9CE3
Tritanopia (blue-blind)
#E6739C
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #e162e7; /* rgb */ color: rgb(225, 98, 231); /* oklch */ color: oklch(70.1% 0.221 325.8);
Tailwind
colors: {
custom: {
50: '#ed95ef',
500: '#e162e7',
950: '#000000',
},
}SCSS
$custom: #e162e7; $custom-light: #ed95ef; $custom-dark: #000000;
JSON
{
"hex": "#e162e7",
"rgb": {
"r": 225,
"g": 98,
"b": 231
},
"hsl": {
"h": 297.293,
"s": 73.481,
"l": 64.51
},
"oklch": {
"l": 0.70139,
"c": 0.22117,
"h": 325.8
},
"luminance": 0.30512
}Semantic roles & 50–950 ramp
primary
#E162E7
secondary
#BEE9BB
accent
#D61019
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E16
muted
#857E84