#E162ED#E162ED
#E162ED is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 70.4% C 0.226 H 324.1°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #E162ED |
|---|---|
| RGB | rgb(225, 98, 237) |
| HSL | hsl(295, 79%, 66%) |
| HSV | hsv(295, 59%, 93%) |
| CMYK | cmyk(5.1%, 58.6%, 0%, 7.1%) |
| CIE-LAB | lab(62.39, 67.63, -47.83) |
| CIE-LCH | lch(62.39, 82.83, 324.73°) |
| OKLab | oklab(70.45% 0.1834 -0.1326) |
| OKLCH | oklch(70.45% 0.226 324.1) |
| XYZ | xyz(50.7037, 30.8601, 83.3902) |
| Luminance | 0.3086 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.86
Violet Pink
#FB5FFC
ΔE00 4.06
Heliotrope
#D94FF5
ΔE00 4.15
Orchid
#DA70D6
ΔE00 4.54
Purply Pink
#F075E6
ΔE00 5.49
Bright Lilac
#C95EFB
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E162ED #6EED62
analogous
#9B62ED #E162ED #ED62B3
triadic
#E162ED #EDE162 #62EDE1
tetradic
#E162ED #ED9B62 #6EED62 #62B3ED
square
#E162ED #ED9B62 #6EED62 #62B3ED
split-complementary
#E162ED #B3ED62 #62ED9B
monochromatic
#B016BF #D72BE7 #E162ED #EB99F3 #F6D0FA
Accessibility & contrast
On white
2.93
#E162ED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#E162ED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E162ED
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E162ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E162ED | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B8DF1
Deuteranopia (green-blind)
#789CE9
Tritanopia (blue-blind)
#E5769F
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #e162ed; /* rgb */ color: rgb(225, 98, 237); /* oklch */ color: oklch(70.4% 0.226 324.1);
Tailwind
colors: {
custom: {
50: '#ed95f3',
500: '#e162ed',
950: '#000000',
},
}SCSS
$custom: #e162ed; $custom-light: #ed95f3; $custom-dark: #000000;
JSON
{
"hex": "#e162ed",
"rgb": {
"r": 225,
"g": 98,
"b": 237
},
"hsl": {
"h": 294.82,
"s": 79.429,
"l": 65.686
},
"oklch": {
"l": 0.70447,
"c": 0.22631,
"h": 324.1
},
"luminance": 0.30857
}Semantic roles & 50–950 ramp
primary
#E162ED
secondary
#C2EDBE
accent
#DC0A1C
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E17
muted
#857E85