#E166ED#E166ED
#E166ED is a light, highly saturated purple. Relative luminance 0.316; OKLCH L 70.9% C 0.221 H 324.0°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #E166ED |
|---|---|
| RGB | rgb(225, 102, 237) |
| HSL | hsl(295, 79%, 66%) |
| HSV | hsv(295, 57%, 93%) |
| CMYK | cmyk(5.1%, 57%, 0%, 7.1%) |
| CIE-LAB | lab(63.03, 65.87, -46.81) |
| CIE-LCH | lch(63.03, 80.81, 324.60°) |
| OKLab | oklab(70.92% 0.1786 -0.1296) |
| OKLCH | oklch(70.92% 0.221 324) |
| XYZ | xyz(51.0874, 31.6275, 83.5181) |
| Luminance | 0.3162 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.70
Violet Pink
#FB5FFC
ΔE00 3.90
Orchid
#DA70D6
ΔE00 4.18
Heliotrope
#D94FF5
ΔE00 4.78
Purply Pink
#F075E6
ΔE00 4.94
Candy Pink
#FF63E9
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E166ED #72ED66
analogous
#9E66ED #E166ED #ED66B6
triadic
#E166ED #EDE166 #66EDE1
tetradic
#E166ED #ED9E66 #72ED66 #66B6ED
square
#E166ED #ED9E66 #72ED66 #66B6ED
split-complementary
#E166ED #B6ED66 #66ED9E
monochromatic
#B317C2 #D62FE7 #E166ED #EC9DF3 #F6D4FA
Accessibility & contrast
On white
2.87
#E166ED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.32
#E166ED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E166ED
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E166ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E166ED | 1.00 | 2.87 | 7.32 | 7.32 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#508FF1
Deuteranopia (green-blind)
#7B9EE9
Tritanopia (blue-blind)
#E579A0
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #e166ed; /* rgb */ color: rgb(225, 102, 237); /* oklch */ color: oklch(70.9% 0.221 324.0);
Tailwind
colors: {
custom: {
50: '#ed98f3',
500: '#e166ed',
950: '#000000',
},
}SCSS
$custom: #e166ed; $custom-light: #ed98f3; $custom-dark: #000000;
JSON
{
"hex": "#e166ed",
"rgb": {
"r": 225,
"g": 102,
"b": 237
},
"hsl": {
"h": 294.667,
"s": 78.947,
"l": 66.471
},
"oklch": {
"l": 0.70917,
"c": 0.22067,
"h": 324
},
"luminance": 0.31625
}Semantic roles & 50–950 ramp
primary
#E166ED
secondary
#C5EDC2
accent
#DB0A1D
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E17
muted
#857E85