#E166E2#E166E2
#E166E2 is a light, highly saturated purple. Relative luminance 0.310; OKLCH L 70.4% C 0.211 H 327.2°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #E166E2 |
|---|---|
| RGB | rgb(225, 102, 226) |
| HSL | hsl(300, 68%, 64%) |
| HSV | hsv(300, 55%, 89%) |
| CMYK | cmyk(0.4%, 54.9%, 0%, 11.4%) |
| CIE-LAB | lab(62.51, 63.95, -41.51) |
| CIE-LCH | lch(62.51, 76.24, 327.01°) |
| OKLab | oklab(70.36% 0.1775 -0.1143) |
| OKLCH | oklch(70.36% 0.211 327.2) |
| XYZ | xyz(49.5294, 31.0042, 75.3124) |
| Luminance | 0.3100 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.74
Light Magenta
#FA5FF7
ΔE00 4.12
Purply Pink
#F075E6
ΔE00 4.30
Violet Pink
#FB5FFC
ΔE00 4.57
Candy Pink
#FF63E9
ΔE00 4.74
Purpleish Pink
#DF4EC8
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E166E2 #67E266
analogous
#A366E2 #E166E2 #E266A5
triadic
#E166E2 #E2E166 #66E2E1
tetradic
#E166E2 #E2A366 #67E266 #66A5E2
square
#E166E2 #E2A366 #67E266 #66A5E2
split-complementary
#E166E2 #A5E266 #66E2A3
monochromatic
#AC21AD #D733D8 #E166E2 #EB99EC #F5CDF6
Accessibility & contrast
On white
2.92
#E166E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.20
#E166E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E166E2
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E166E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E166E2 | 1.00 | 2.92 | 7.20 | 7.20 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#588DE6
Deuteranopia (green-blind)
#809DDE
Tritanopia (blue-blind)
#E7759B
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #e166e2; /* rgb */ color: rgb(225, 102, 226); /* oklch */ color: oklch(70.4% 0.211 327.2);
Tailwind
colors: {
custom: {
50: '#ed97eb',
500: '#e166e2',
950: '#000000',
},
}SCSS
$custom: #e166e2; $custom-light: #ed97eb; $custom-dark: #000000;
JSON
{
"hex": "#e166e2",
"rgb": {
"r": 225,
"g": 102,
"b": 226
},
"hsl": {
"h": 299.516,
"s": 68.132,
"l": 64.314
},
"oklch": {
"l": 0.70365,
"c": 0.21116,
"h": 327.2
},
"luminance": 0.31001
}Semantic roles & 50–950 ramp
primary
#E166E2
secondary
#BDE7BC
accent
#D01517
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E16
muted
#857E84