#E166E8#E166E8
#E166E8 is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.7% C 0.216 H 325.4°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #E166E8 |
|---|---|
| RGB | rgb(225, 102, 232) |
| HSL | hsl(297, 74%, 65%) |
| HSV | hsv(297, 56%, 91%) |
| CMYK | cmyk(3%, 56%, 0%, 9%) |
| CIE-LAB | lab(62.79, 64.99, -44.41) |
| CIE-LCH | lch(62.79, 78.71, 325.65°) |
| OKLab | oklab(70.66% 0.1782 -0.1227) |
| OKLCH | oklch(70.66% 0.216 325.4) |
| XYZ | xyz(50.3671, 31.3393, 79.7244) |
| Luminance | 0.3134 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.50
Light Magenta
#FA5FF7
ΔE00 3.79
Violet Pink
#FB5FFC
ΔE00 4.13
Purply Pink
#F075E6
ΔE00 4.59
Candy Pink
#FF63E9
ΔE00 4.99
Heliotrope
#D94FF5
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E166E8 #6DE866
analogous
#A066E8 #E166E8 #E866AE
triadic
#E166E8 #E8E166 #66E8E1
tetradic
#E166E8 #E8A066 #6DE866 #66AEE8
square
#E166E8 #E8A066 #6DE866 #66AEE8
split-complementary
#E166E8 #AEE866 #66E8A0
monochromatic
#B01CB8 #D731E0 #E166E8 #EB9BF0 #F6D0F8
Accessibility & contrast
On white
2.89
#E166E8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.27
#E166E8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E166E8
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E166E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E166E8 | 1.00 | 2.89 | 7.27 | 7.27 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#548EEC
Deuteranopia (green-blind)
#7E9DE4
Tritanopia (blue-blind)
#E6779E
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #e166e8; /* rgb */ color: rgb(225, 102, 232); /* oklch */ color: oklch(70.7% 0.216 325.4);
Tailwind
colors: {
custom: {
50: '#ed98f0',
500: '#e166e8',
950: '#000000',
},
}SCSS
$custom: #e166e8; $custom-light: #ed98f0; $custom-dark: #000000;
JSON
{
"hex": "#e166e8",
"rgb": {
"r": 225,
"g": 102,
"b": 232
},
"hsl": {
"h": 296.769,
"s": 73.864,
"l": 65.49
},
"oklch": {
"l": 0.70663,
"c": 0.21632,
"h": 325.4
},
"luminance": 0.31336
}Semantic roles & 50–950 ramp
primary
#E166E8
secondary
#C1EBBF
accent
#D6101A
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E16
muted
#857E84