#E166DF#E166DF
#E166DF is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.2% C 0.209 H 328.1°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #E166DF |
|---|---|
| RGB | rgb(225, 102, 223) |
| HSL | hsl(301, 67%, 64%) |
| HSV | hsv(301, 55%, 88%) |
| CMYK | cmyk(0%, 54.7%, 0.9%, 11.8%) |
| CIE-LAB | lab(62.37, 63.43, -40.05) |
| CIE-LCH | lch(62.37, 75.02, 327.73°) |
| OKLab | oklab(70.22% 0.1772 -0.1101) |
| OKLCH | oklch(70.22% 0.209 328.1) |
| XYZ | xyz(49.1213, 30.8410, 73.1633) |
| Luminance | 0.3084 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.42
Purply Pink
#F075E6
ΔE00 4.23
Light Magenta
#FA5FF7
ΔE00 4.36
Candy Pink
#FF63E9
ΔE00 4.69
Violet Pink
#FB5FFC
ΔE00 4.86
Purpleish Pink
#DF4EC8
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E166DF #66E168
analogous
#A666E1 #E166DF #E166A2
triadic
#E166DF #DFE166 #66DFE1
tetradic
#E166DF #E1A666 #66E168 #66A2E1
square
#E166DF #E1A666 #66E168 #66A2E1
split-complementary
#E166DF #A2E166 #66E1A6
monochromatic
#AB22A9 #D733D4 #E166DF #EB99EA #F5CCF4
Accessibility & contrast
On white
2.93
#E166DF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#E166DF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E166DF
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E166DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E166DF | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A8CE3
Deuteranopia (green-blind)
#829DDB
Tritanopia (blue-blind)
#E87499
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #e166df; /* rgb */ color: rgb(225, 102, 223); /* oklch */ color: oklch(70.2% 0.209 328.1);
Tailwind
colors: {
custom: {
50: '#ed97e9',
500: '#e166df',
950: '#000000',
},
}SCSS
$custom: #e166df; $custom-light: #ed97e9; $custom-dark: #000000;
JSON
{
"hex": "#e166df",
"rgb": {
"r": 225,
"g": 102,
"b": 223
},
"hsl": {
"h": 300.976,
"s": 67.213,
"l": 64.118
},
"oklch": {
"l": 0.70219,
"c": 0.20862,
"h": 328.1
},
"luminance": 0.30838
}Semantic roles & 50–950 ramp
primary
#E166DF
secondary
#BCE7BD
accent
#CF1916
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E16
muted
#857E84