#E166E7#E166E7
#E166E7 is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.6% C 0.215 H 325.7°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #E166E7 |
|---|---|
| RGB | rgb(225, 102, 231) |
| HSL | hsl(297, 73%, 65%) |
| HSV | hsv(297, 56%, 91%) |
| CMYK | cmyk(2.6%, 55.8%, 0%, 9.4%) |
| CIE-LAB | lab(62.75, 64.81, -43.93) |
| CIE-LCH | lch(62.75, 78.30, 325.87°) |
| OKLab | oklab(70.61% 0.1781 -0.1213) |
| OKLCH | oklch(70.61% 0.215 325.7) |
| XYZ | xyz(50.2254, 31.2827, 78.9785) |
| Luminance | 0.3128 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.36
Light Magenta
#FA5FF7
ΔE00 3.83
Violet Pink
#FB5FFC
ΔE00 4.19
Purply Pink
#F075E6
ΔE00 4.53
Candy Pink
#FF63E9
ΔE00 4.94
Heliotrope
#D94FF5
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E166E7 #6CE766
analogous
#A066E7 #E166E7 #E766AD
triadic
#E166E7 #E7E166 #66E7E1
tetradic
#E166E7 #E7A066 #6CE766 #66ADE7
square
#E166E7 #E7A066 #6CE766 #66ADE7
split-complementary
#E166E7 #ADE766 #66E7A0
monochromatic
#AF1DB6 #D731DF #E166E7 #EB9BEF #F6D0F8
Accessibility & contrast
On white
2.89
#E166E7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#E166E7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E166E7
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E166E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E166E7 | 1.00 | 2.89 | 7.26 | 7.26 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#558EEB
Deuteranopia (green-blind)
#7E9DE3
Tritanopia (blue-blind)
#E6769D
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #e166e7; /* rgb */ color: rgb(225, 102, 231); /* oklch */ color: oklch(70.6% 0.215 325.7);
Tailwind
colors: {
custom: {
50: '#ed98ef',
500: '#e166e7',
950: '#000000',
},
}SCSS
$custom: #e166e7; $custom-light: #ed98ef; $custom-dark: #000000;
JSON
{
"hex": "#e166e7",
"rgb": {
"r": 225,
"g": 102,
"b": 231
},
"hsl": {
"h": 297.209,
"s": 72.881,
"l": 65.294
},
"oklch": {
"l": 0.70613,
"c": 0.21544,
"h": 325.7
},
"luminance": 0.3128
}Semantic roles & 50–950 ramp
primary
#E166E7
secondary
#C1EABF
accent
#D5111A
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E16
muted
#857E84