#E166D9#E166D9
#E166D9 is a light, highly saturated purple. Relative luminance 0.305; OKLCH L 69.9% C 0.204 H 330.0°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #E166D9 |
|---|---|
| RGB | rgb(225, 102, 217) |
| HSL | hsl(304, 67%, 64%) |
| HSV | hsv(304, 55%, 88%) |
| CMYK | cmyk(0%, 54.7%, 3.6%, 11.8%) |
| CIE-LAB | lab(62.10, 62.42, -37.11) |
| CIE-LCH | lch(62.10, 72.62, 329.27°) |
| OKLab | oklab(69.93% 0.1764 -0.1017) |
| OKLCH | oklch(69.93% 0.204 330) |
| XYZ | xyz(48.3267, 30.5232, 68.9783) |
| Luminance | 0.3052 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.02
Purply Pink
#F075E6
ΔE00 4.26
Candy Pink
#FF63E9
ΔE00 4.72
Purpleish Pink
#DF4EC8
ΔE00 4.82
Light Magenta
#FA5FF7
ΔE00 4.96
Orchid (survey)
#C875C4
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E166D9 #66E16E
analogous
#AB66E1 #E166D9 #E1669C
triadic
#E166D9 #D9E166 #66D9E1
tetradic
#E166D9 #E1AB66 #66E16E #669CE1
square
#E166D9 #E1AB66 #66E16E #669CE1
split-complementary
#E166D9 #9CE166 #66E1AB
monochromatic
#AB22A2 #D733CC #E166D9 #EB99E6 #F5CCF2
Accessibility & contrast
On white
2.96
#E166D9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.10
#E166D9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E166D9
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E166D9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E166D9 | 1.00 | 2.96 | 7.10 | 7.10 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E8BDD
Deuteranopia (green-blind)
#859CD6
Tritanopia (blue-blind)
#E97296
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #e166d9; /* rgb */ color: rgb(225, 102, 217); /* oklch */ color: oklch(69.9% 0.204 330.0);
Tailwind
colors: {
custom: {
50: '#ed97e5',
500: '#e166d9',
950: '#000000',
},
}SCSS
$custom: #e166d9; $custom-light: #ed97e5; $custom-dark: #000000;
JSON
{
"hex": "#e166d9",
"rgb": {
"r": 225,
"g": 102,
"b": 217
},
"hsl": {
"h": 303.902,
"s": 67.213,
"l": 64.118
},
"oklch": {
"l": 0.69932,
"c": 0.20362,
"h": 330
},
"luminance": 0.3052
}Semantic roles & 50–950 ramp
primary
#E166D9
secondary
#BCE7BF
accent
#CF2216
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#170E16
muted
#857E84