#E166D8#E166D8
#E166D8 is a light, highly saturated purple. Relative luminance 0.305; OKLCH L 69.9% C 0.203 H 330.4°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #E166D8 |
|---|---|
| RGB | rgb(225, 102, 216) |
| HSL | hsl(304, 67%, 64%) |
| HSV | hsv(304, 55%, 88%) |
| CMYK | cmyk(0%, 54.7%, 4%, 11.8%) |
| CIE-LAB | lab(62.06, 62.26, -36.62) |
| CIE-LCH | lch(62.06, 72.23, 329.54°) |
| OKLab | oklab(69.88% 0.1763 -0.1003) |
| OKLCH | oklch(69.88% 0.203 330.4) |
| XYZ | xyz(48.1970, 30.4713, 68.2954) |
| Luminance | 0.3047 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 1.99
Purply Pink
#F075E6
ΔE00 4.29
Purpleish Pink
#DF4EC8
ΔE00 4.74
Candy Pink
#FF63E9
ΔE00 4.75
Light Magenta
#FA5FF7
ΔE00 5.08
Orchid (survey)
#C875C4
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E166D8 #66E16F
analogous
#AD66E1 #E166D8 #E1669B
triadic
#E166D8 #D8E166 #66D8E1
tetradic
#E166D8 #E1AD66 #66E16F #669BE1
square
#E166D8 #E1AD66 #66E16F #669BE1
split-complementary
#E166D8 #9BE166 #66E1AD
monochromatic
#AB22A1 #D733CB #E166D8 #EB99E5 #F5CCF2
Accessibility & contrast
On white
2.96
#E166D8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.09
#E166D8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E166D8
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E166D8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E166D8 | 1.00 | 2.96 | 7.09 | 7.09 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F8BDC
Deuteranopia (green-blind)
#859CD5
Tritanopia (blue-blind)
#E97196
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #e166d8; /* rgb */ color: rgb(225, 102, 216); /* oklch */ color: oklch(69.9% 0.203 330.4);
Tailwind
colors: {
custom: {
50: '#ed97e4',
500: '#e166d8',
950: '#000000',
},
}SCSS
$custom: #e166d8; $custom-light: #ed97e4; $custom-dark: #000000;
JSON
{
"hex": "#e166d8",
"rgb": {
"r": 225,
"g": 102,
"b": 216
},
"hsl": {
"h": 304.39,
"s": 67.213,
"l": 64.118
},
"oklch": {
"l": 0.69885,
"c": 0.2028,
"h": 330.4
},
"luminance": 0.30468
}Semantic roles & 50–950 ramp
primary
#E166D8
secondary
#BCE7BF
accent
#CF2416
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#170E15
muted
#857E84