#E166E4#E166E4
#E166E4 is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 70.5% C 0.213 H 326.6°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #E166E4 |
|---|---|
| RGB | rgb(225, 102, 228) |
| HSL | hsl(299, 70%, 65%) |
| HSV | hsv(299, 55%, 89%) |
| CMYK | cmyk(1.3%, 55.3%, 0%, 10.6%) |
| CIE-LAB | lab(62.60, 64.29, -42.48) |
| CIE-LCH | lch(62.60, 77.06, 326.55°) |
| OKLab | oklab(70.46% 0.1778 -0.1171) |
| OKLCH | oklch(70.46% 0.213 326.6) |
| XYZ | xyz(49.8054, 31.1146, 76.7661) |
| Luminance | 0.3111 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.98
Light Magenta
#FA5FF7
ΔE00 3.99
Purply Pink
#F075E6
ΔE00 4.38
Violet Pink
#FB5FFC
ΔE00 4.41
Candy Pink
#FF63E9
ΔE00 4.81
Heliotrope
#D94FF5
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E166E4 #69E466
analogous
#A266E4 #E166E4 #E466A8
triadic
#E166E4 #E4E166 #66E4E1
tetradic
#E166E4 #E4A266 #69E466 #66A8E4
square
#E166E4 #E4A266 #69E466 #66A8E4
split-complementary
#E166E4 #A8E466 #66E4A2
monochromatic
#AD1FB0 #D732DB #E166E4 #EB9AED #F5CEF6
Accessibility & contrast
On white
2.91
#E166E4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.22
#E166E4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E166E4
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E166E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E166E4 | 1.00 | 2.91 | 7.22 | 7.22 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#578DE8
Deuteranopia (green-blind)
#809DE0
Tritanopia (blue-blind)
#E7759C
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #e166e4; /* rgb */ color: rgb(225, 102, 228); /* oklch */ color: oklch(70.5% 0.213 326.6);
Tailwind
colors: {
custom: {
50: '#ed97ed',
500: '#e166e4',
950: '#000000',
},
}SCSS
$custom: #e166e4; $custom-light: #ed97ed; $custom-dark: #000000;
JSON
{
"hex": "#e166e4",
"rgb": {
"r": 225,
"g": 102,
"b": 228
},
"hsl": {
"h": 298.571,
"s": 70,
"l": 64.706
},
"oklch": {
"l": 0.70463,
"c": 0.21287,
"h": 326.6
},
"luminance": 0.31112
}Semantic roles & 50–950 ramp
primary
#E166E4
secondary
#BEE9BD
accent
#D21418
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E16
muted
#857E84