#E166EA#E166EA
#E166EA is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 70.8% C 0.218 H 324.9°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #E166EA |
|---|---|
| RGB | rgb(225, 102, 234) |
| HSL | hsl(296, 76%, 66%) |
| HSV | hsv(296, 56%, 92%) |
| CMYK | cmyk(3.8%, 56.4%, 0%, 8.2%) |
| CIE-LAB | lab(62.89, 65.34, -45.38) |
| CIE-LCH | lch(62.89, 79.55, 325.22°) |
| OKLab | oklab(70.76% 0.1783 -0.1255) |
| OKLCH | oklch(70.76% 0.218 324.9) |
| XYZ | xyz(50.6528, 31.4536, 81.2291) |
| Luminance | 0.3145 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.74
Orchid
#DA70D6
ΔE00 3.76
Violet Pink
#FB5FFC
ΔE00 4.02
Purply Pink
#F075E6
ΔE00 4.72
Heliotrope
#D94FF5
ΔE00 4.98
Candy Pink
#FF63E9
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E166EA #6FEA66
analogous
#9F66EA #E166EA #EA66B1
triadic
#E166EA #EAE166 #66EAE1
tetradic
#E166EA #EA9F66 #6FEA66 #66B1EA
square
#E166EA #EA9F66 #6FEA66 #66B1EA
split-complementary
#E166EA #B1EA66 #66EA9F
monochromatic
#B11ABC #D630E3 #E166EA #EC9CF1 #F6D2F9
Accessibility & contrast
On white
2.88
#E166EA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#E166EA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E166EA
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E166EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E166EA | 1.00 | 2.88 | 7.29 | 7.29 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#538EEE
Deuteranopia (green-blind)
#7D9DE6
Tritanopia (blue-blind)
#E6779F
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #e166ea; /* rgb */ color: rgb(225, 102, 234); /* oklch */ color: oklch(70.8% 0.218 324.9);
Tailwind
colors: {
custom: {
50: '#ed98f1',
500: '#e166ea',
950: '#000000',
},
}SCSS
$custom: #e166ea; $custom-light: #ed98f1; $custom-dark: #000000;
JSON
{
"hex": "#e166ea",
"rgb": {
"r": 225,
"g": 102,
"b": 234
},
"hsl": {
"h": 295.909,
"s": 75.862,
"l": 65.882
},
"oklch": {
"l": 0.70764,
"c": 0.21804,
"h": 324.9
},
"luminance": 0.31451
}Semantic roles & 50–950 ramp
primary
#E166EA
secondary
#C3ECC0
accent
#D80D1B
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E17
muted
#857E85