#E166EF#E166EF
#E166EF is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 71.0% C 0.222 H 323.5°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #E166EF |
|---|---|
| RGB | rgb(225, 102, 239) |
| HSL | hsl(294, 81%, 67%) |
| HSV | hsv(294, 57%, 94%) |
| CMYK | cmyk(5.9%, 57.3%, 0%, 6.3%) |
| CIE-LAB | lab(63.13, 66.23, -47.77) |
| CIE-LCH | lch(63.13, 81.66, 324.20°) |
| OKLab | oklab(71.02% 0.1787 -0.1324) |
| OKLCH | oklch(71.02% 0.222 323.5) |
| XYZ | xyz(51.3812, 31.7450, 85.0656) |
| Luminance | 0.3174 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.71
Violet Pink
#FB5FFC
ΔE00 3.86
Orchid
#DA70D6
ΔE00 4.45
Heliotrope
#D94FF5
ΔE00 4.66
Purply Pink
#F075E6
ΔE00 5.11
Candy Pink
#FF63E9
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E166EF #74EF66
analogous
#9D66EF #E166EF #EF66B8
triadic
#E166EF #EFE166 #66EFE1
tetradic
#E166EF #EF9D66 #74EF66 #66B8EF
square
#E166EF #EF9D66 #74EF66 #66B8EF
split-complementary
#E166EF #B8EF66 #66EF9D
monochromatic
#B415C6 #D62FE9 #E166EF #EC9DF5 #F7D5FB
Accessibility & contrast
On white
2.86
#E166EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.35
#E166EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E166EF
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E166EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E166EF | 1.00 | 2.86 | 7.35 | 7.35 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F8FF3
Deuteranopia (green-blind)
#7A9EEB
Tritanopia (blue-blind)
#E579A1
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #e166ef; /* rgb */ color: rgb(225, 102, 239); /* oklch */ color: oklch(71.0% 0.222 323.5);
Tailwind
colors: {
custom: {
50: '#ed98f5',
500: '#e166ef',
950: '#000000',
},
}SCSS
$custom: #e166ef; $custom-light: #ed98f5; $custom-dark: #000000;
JSON
{
"hex": "#e166ef",
"rgb": {
"r": 225,
"g": 102,
"b": 239
},
"hsl": {
"h": 293.869,
"s": 81.065,
"l": 66.863
},
"oklch": {
"l": 0.7102,
"c": 0.22243,
"h": 323.5
},
"luminance": 0.31742
}Semantic roles & 50–950 ramp
primary
#E166EF
secondary
#C7EEC2
accent
#DD081E
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#170E17
muted
#857E85