#E162D8#E162D8
#E162D8 is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.4% C 0.209 H 330.4°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #E162D8 |
|---|---|
| RGB | rgb(225, 98, 216) |
| HSL | hsl(304, 68%, 63%) |
| HSV | hsv(304, 56%, 88%) |
| CMYK | cmyk(0%, 56.4%, 4%, 11.8%) |
| CIE-LAB | lab(61.40, 64.04, -37.65) |
| CIE-LCH | lch(61.40, 74.29, 329.55°) |
| OKLab | oklab(69.4% 0.1814 -0.1032) |
| OKLCH | oklch(69.4% 0.209 330.4) |
| XYZ | xyz(47.8134, 29.7040, 68.1675) |
| Luminance | 0.2970 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.63
Purpleish Pink
#DF4EC8
ΔE00 4.15
Purply Pink
#F075E6
ΔE00 4.90
Candy Pink
#FF63E9
ΔE00 5.00
Light Magenta
#FA5FF7
ΔE00 5.13
Pinkish Purple
#D648D7
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E162D8 #62E16B
analogous
#AA62E1 #E162D8 #E16298
triadic
#E162D8 #D8E162 #62D8E1
tetradic
#E162D8 #E1AA62 #62E16B #6298E1
square
#E162D8 #E1AA62 #62E16B #6298E1
split-complementary
#E162D8 #98E162 #62E1AA
monochromatic
#A8209F #D72FCB #E162D8 #EB95E5 #F5C9F2
Accessibility & contrast
On white
3.03
#E162D8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.94
#E162D8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E162D8
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E162D8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E162D8 | 1.00 | 3.03 | 6.94 | 6.94 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A89DC
Deuteranopia (green-blind)
#839BD4
Tritanopia (blue-blind)
#E96E94
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #e162d8; /* rgb */ color: rgb(225, 98, 216); /* oklch */ color: oklch(69.4% 0.209 330.4);
Tailwind
colors: {
custom: {
50: '#ed95e4',
500: '#e162d8',
950: '#000000',
},
}SCSS
$custom: #e162d8; $custom-light: #ed95e4; $custom-dark: #000000;
JSON
{
"hex": "#e162d8",
"rgb": {
"r": 225,
"g": 98,
"b": 216
},
"hsl": {
"h": 304.252,
"s": 67.914,
"l": 63.333
},
"oklch": {
"l": 0.694,
"c": 0.2087,
"h": 330.4
},
"luminance": 0.29701
}Semantic roles & 50–950 ramp
primary
#E162D8
secondary
#B9E6BC
accent
#D02316
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#170E15
muted
#857E84