#E162EC#E162EC
#E162EC is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.4% C 0.225 H 324.4°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #E162EC |
|---|---|
| RGB | rgb(225, 98, 236) |
| HSL | hsl(295, 78%, 65%) |
| HSV | hsv(295, 58%, 93%) |
| CMYK | cmyk(4.7%, 58.5%, 0%, 7.5%) |
| CIE-LAB | lab(62.34, 67.45, -47.35) |
| CIE-LCH | lch(62.34, 82.41, 324.93°) |
| OKLab | oklab(70.4% 0.1834 -0.1312) |
| OKLCH | oklch(70.4% 0.225 324.4) |
| XYZ | xyz(50.5581, 30.8019, 82.6229) |
| Luminance | 0.3080 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.86
Violet Pink
#FB5FFC
ΔE00 4.09
Heliotrope
#D94FF5
ΔE00 4.22
Orchid
#DA70D6
ΔE00 4.41
Purply Pink
#F075E6
ΔE00 5.42
Candy Pink
#FF63E9
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E162EC #6DEC62
analogous
#9C62EC #E162EC #EC62B2
triadic
#E162EC #ECE162 #62ECE1
tetradic
#E162EC #EC9C62 #6DEC62 #62B2EC
square
#E162EC #EC9C62 #6DEC62 #62B2EC
split-complementary
#E162EC #B2EC62 #62EC9C
monochromatic
#B017BD #D72BE5 #E162EC #EB99F3 #F6CFF9
Accessibility & contrast
On white
2.93
#E162EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.16
#E162EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E162EC
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E162EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E162EC | 1.00 | 2.93 | 7.16 | 7.16 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C8DF0
Deuteranopia (green-blind)
#799CE8
Tritanopia (blue-blind)
#E5759E
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #e162ec; /* rgb */ color: rgb(225, 98, 236); /* oklch */ color: oklch(70.4% 0.225 324.4);
Tailwind
colors: {
custom: {
50: '#ed95f2',
500: '#e162ec',
950: '#000000',
},
}SCSS
$custom: #e162ec; $custom-light: #ed95f2; $custom-dark: #000000;
JSON
{
"hex": "#e162ec",
"rgb": {
"r": 225,
"g": 98,
"b": 236
},
"hsl": {
"h": 295.217,
"s": 78.409,
"l": 65.49
},
"oklch": {
"l": 0.70395,
"c": 0.22544,
"h": 324.4
},
"luminance": 0.30799
}Semantic roles & 50–950 ramp
primary
#E162EC
secondary
#C1ECBE
accent
#DB0B1B
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E17
muted
#857E85