#E166E6#E166E6
#E166E6 is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 70.6% C 0.215 H 326.0°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #E166E6 |
|---|---|
| RGB | rgb(225, 102, 230) |
| HSL | hsl(298, 72%, 65%) |
| HSV | hsv(298, 56%, 90%) |
| CMYK | cmyk(2.2%, 55.7%, 0%, 9.8%) |
| CIE-LAB | lab(62.70, 64.64, -43.45) |
| CIE-LCH | lch(62.70, 77.88, 326.09°) |
| OKLab | oklab(70.56% 0.178 -0.1199) |
| OKLCH | oklch(70.56% 0.215 326) |
| XYZ | xyz(50.0846, 31.2263, 78.2368) |
| Luminance | 0.3122 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.23
Light Magenta
#FA5FF7
ΔE00 3.88
Violet Pink
#FB5FFC
ΔE00 4.26
Purply Pink
#F075E6
ΔE00 4.47
Candy Pink
#FF63E9
ΔE00 4.89
Heliotrope
#D94FF5
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E166E6 #6BE666
analogous
#A166E6 #E166E6 #E666AB
triadic
#E166E6 #E6E166 #66E6E1
tetradic
#E166E6 #E6A166 #6BE666 #66ABE6
square
#E166E6 #E6A166 #6BE666 #66ABE6
split-complementary
#E166E6 #ABE666 #66E6A1
monochromatic
#AE1DB4 #D731DD #E166E6 #EB9BEF #F6CFF7
Accessibility & contrast
On white
2.90
#E166E6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.24
#E166E6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E166E6
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E166E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E166E6 | 1.00 | 2.90 | 7.24 | 7.24 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#568EEA
Deuteranopia (green-blind)
#7F9DE2
Tritanopia (blue-blind)
#E6769D
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #e166e6; /* rgb */ color: rgb(225, 102, 230); /* oklch */ color: oklch(70.6% 0.215 326.0);
Tailwind
colors: {
custom: {
50: '#ed98ee',
500: '#e166e6',
950: '#000000',
},
}SCSS
$custom: #e166e6; $custom-light: #ed98ee; $custom-dark: #000000;
JSON
{
"hex": "#e166e6",
"rgb": {
"r": 225,
"g": 102,
"b": 230
},
"hsl": {
"h": 297.656,
"s": 71.91,
"l": 65.098
},
"oklch": {
"l": 0.70563,
"c": 0.21458,
"h": 326
},
"luminance": 0.31223
}Semantic roles & 50–950 ramp
primary
#E166E6
secondary
#C0EABE
accent
#D41219
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E16
muted
#857E84