#E166D7#E166D7
#E166D7 is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 69.8% C 0.202 H 330.7°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #E166D7 |
|---|---|
| RGB | rgb(225, 102, 215) |
| HSL | hsl(305, 67%, 64%) |
| HSV | hsv(305, 55%, 88%) |
| CMYK | cmyk(0%, 54.7%, 4.4%, 11.8%) |
| CIE-LAB | lab(62.01, 62.09, -36.12) |
| CIE-LCH | lch(62.01, 71.83, 329.81°) |
| OKLab | oklab(69.84% 0.1761 -0.0988) |
| OKLCH | oklch(69.84% 0.202 330.7) |
| XYZ | xyz(48.0681, 30.4197, 67.6166) |
| Luminance | 0.3042 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 1.98
Purply Pink
#F075E6
ΔE00 4.33
Purpleish Pink
#DF4EC8
ΔE00 4.67
Candy Pink
#FF63E9
ΔE00 4.79
Light Magenta
#FA5FF7
ΔE00 5.20
Orchid (survey)
#C875C4
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E166D7 #66E170
analogous
#AE66E1 #E166D7 #E1669A
triadic
#E166D7 #D7E166 #66D7E1
tetradic
#E166D7 #E1AE66 #66E170 #669AE1
square
#E166D7 #E1AE66 #66E170 #669AE1
split-complementary
#E166D7 #9AE166 #66E1AE
monochromatic
#AB22A0 #D733CA #E166D7 #EB99E4 #F5CCF2
Accessibility & contrast
On white
2.96
#E166D7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.08
#E166D7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E166D7
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E166D7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E166D7 | 1.00 | 2.96 | 7.08 | 7.08 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F8BDB
Deuteranopia (green-blind)
#859CD4
Tritanopia (blue-blind)
#E97195
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #e166d7; /* rgb */ color: rgb(225, 102, 215); /* oklch */ color: oklch(69.8% 0.202 330.7);
Tailwind
colors: {
custom: {
50: '#ed97e3',
500: '#e166d7',
950: '#000000',
},
}SCSS
$custom: #e166d7; $custom-light: #ed97e3; $custom-dark: #000000;
JSON
{
"hex": "#e166d7",
"rgb": {
"r": 225,
"g": 102,
"b": 215
},
"hsl": {
"h": 304.878,
"s": 67.213,
"l": 64.118
},
"oklch": {
"l": 0.69838,
"c": 0.20198,
"h": 330.7
},
"luminance": 0.30417
}Semantic roles & 50–950 ramp
primary
#E166D7
secondary
#BCE7BF
accent
#CF2516
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#170E15
muted
#857E83