#E166E5#E166E5
#E166E5 is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 70.5% C 0.214 H 326.3°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #E166E5 |
|---|---|
| RGB | rgb(225, 102, 229) |
| HSL | hsl(298, 71%, 65%) |
| HSV | hsv(298, 55%, 90%) |
| CMYK | cmyk(1.7%, 55.5%, 0%, 10.2%) |
| CIE-LAB | lab(62.65, 64.46, -42.96) |
| CIE-LCH | lch(62.65, 77.47, 326.32°) |
| OKLab | oklab(70.51% 0.1779 -0.1185) |
| OKLCH | oklch(70.51% 0.214 326.3) |
| XYZ | xyz(49.9446, 31.1703, 77.4993) |
| Luminance | 0.3117 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.11
Light Magenta
#FA5FF7
ΔE00 3.93
Violet Pink
#FB5FFC
ΔE00 4.33
Purply Pink
#F075E6
ΔE00 4.42
Candy Pink
#FF63E9
ΔE00 4.85
Heliotrope
#D94FF5
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E166E5 #6AE566
analogous
#A166E5 #E166E5 #E566AA
triadic
#E166E5 #E5E166 #66E5E1
tetradic
#E166E5 #E5A166 #6AE566 #66AAE5
square
#E166E5 #E5A166 #6AE566 #66AAE5
split-complementary
#E166E5 #AAE566 #66E5A1
monochromatic
#AE1EB2 #D732DC #E166E5 #EB9AEE #F6CFF7
Accessibility & contrast
On white
2.90
#E166E5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#E166E5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E166E5
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E166E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E166E5 | 1.00 | 2.90 | 7.23 | 7.23 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#568EE9
Deuteranopia (green-blind)
#7F9DE1
Tritanopia (blue-blind)
#E6769C
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #e166e5; /* rgb */ color: rgb(225, 102, 229); /* oklch */ color: oklch(70.5% 0.214 326.3);
Tailwind
colors: {
custom: {
50: '#ed98ed',
500: '#e166e5',
950: '#000000',
},
}SCSS
$custom: #e166e5; $custom-light: #ed98ed; $custom-dark: #000000;
JSON
{
"hex": "#e166e5",
"rgb": {
"r": 225,
"g": 102,
"b": 229
},
"hsl": {
"h": 298.11,
"s": 70.95,
"l": 64.902
},
"oklch": {
"l": 0.70513,
"c": 0.21372,
"h": 326.3
},
"luminance": 0.31167
}Semantic roles & 50–950 ramp
primary
#E166E5
secondary
#BFE9BE
accent
#D31319
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E16
muted
#857E84