#E166DC#E166DC
#E166DC is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.1% C 0.206 H 329.1°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #E166DC |
|---|---|
| RGB | rgb(225, 102, 220) |
| HSL | hsl(302, 67%, 64%) |
| HSV | hsv(302, 55%, 88%) |
| CMYK | cmyk(0%, 54.7%, 2.2%, 11.8%) |
| CIE-LAB | lab(62.24, 62.93, -38.58) |
| CIE-LCH | lch(62.24, 73.81, 328.49°) |
| OKLab | oklab(70.07% 0.1768 -0.1059) |
| OKLCH | oklch(70.07% 0.206 329.1) |
| XYZ | xyz(48.7204, 30.6807, 71.0521) |
| Luminance | 0.3068 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.17
Purply Pink
#F075E6
ΔE00 4.22
Light Magenta
#FA5FF7
ΔE00 4.64
Candy Pink
#FF63E9
ΔE00 4.68
Purpleish Pink
#DF4EC8
ΔE00 5.07
Violet Pink
#FB5FFC
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E166DC #66E16B
analogous
#A966E1 #E166DC #E1669F
triadic
#E166DC #DCE166 #66DCE1
tetradic
#E166DC #E1A966 #66E16B #669FE1
square
#E166DC #E1A966 #66E16B #669FE1
split-complementary
#E166DC #9FE166 #66E1A9
monochromatic
#AB22A5 #D733D0 #E166DC #EB99E8 #F5CCF3
Accessibility & contrast
On white
2.94
#E166DC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.14
#E166DC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E166DC
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E166DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E166DC | 1.00 | 2.94 | 7.14 | 7.14 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C8CE0
Deuteranopia (green-blind)
#839CD8
Tritanopia (blue-blind)
#E87398
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #e166dc; /* rgb */ color: rgb(225, 102, 220); /* oklch */ color: oklch(70.1% 0.206 329.1);
Tailwind
colors: {
custom: {
50: '#ed97e7',
500: '#e166dc',
950: '#000000',
},
}SCSS
$custom: #e166dc; $custom-light: #ed97e7; $custom-dark: #000000;
JSON
{
"hex": "#e166dc",
"rgb": {
"r": 225,
"g": 102,
"b": 220
},
"hsl": {
"h": 302.439,
"s": 67.213,
"l": 64.118
},
"oklch": {
"l": 0.70074,
"c": 0.20611,
"h": 329.1
},
"luminance": 0.30678
}Semantic roles & 50–950 ramp
primary
#E166DC
secondary
#BCE7BE
accent
#CF1E16
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#170E16
muted
#857E84