#E166F7#E166F7
#E166F7 is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.4% C 0.230 H 321.3°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #E166F7 |
|---|---|
| RGB | rgb(225, 102, 247) |
| HSL | hsl(291, 90%, 68%) |
| HSV | hsv(291, 59%, 97%) |
| CMYK | cmyk(8.9%, 58.7%, 0%, 3.1%) |
| CIE-LAB | lab(63.53, 67.67, -51.56) |
| CIE-LCH | lch(63.53, 85.08, 322.69°) |
| OKLab | oklab(71.44% 0.1792 -0.1434) |
| OKLCH | oklch(71.44% 0.23 321.3) |
| XYZ | xyz(52.5893, 32.2282, 91.4282) |
| Luminance | 0.3223 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 3.90
Light Magenta
#FA5FF7
ΔE00 3.97
Heliotrope
#D94FF5
ΔE00 4.43
Bright Lilac
#C95EFB
ΔE00 5.06
Bright Lavender
#C760FF
ΔE00 5.43
Orchid
#DA70D6
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E166F7 #7CF766
analogous
#9866F7 #E166F7 #F766C4
triadic
#E166F7 #F7E166 #66F7E1
tetradic
#E166F7 #F79866 #7CF766 #66C4F7
square
#E166F7 #F79866 #7CF766 #66C4F7
split-complementary
#E166F7 #C4F766 #66F798
monochromatic
#B80BD7 #D62CF4 #E166F7 #ECA0FA #F8DAFD
Accessibility & contrast
On white
2.82
#E166F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.45
#E166F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E166F7
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E166F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E166F7 | 1.00 | 2.82 | 7.45 | 7.45 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4891FC
Deuteranopia (green-blind)
#759FF3
Tritanopia (blue-blind)
#E37CA5
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #e166f7; /* rgb */ color: rgb(225, 102, 247); /* oklch */ color: oklch(71.4% 0.230 321.3);
Tailwind
colors: {
custom: {
50: '#ed98fa',
500: '#e166f7',
950: '#000000',
},
}SCSS
$custom: #e166f7; $custom-light: #ed98fa; $custom-dark: #000000;
JSON
{
"hex": "#e166f7",
"rgb": {
"r": 225,
"g": 102,
"b": 247
},
"hsl": {
"h": 290.897,
"s": 90.062,
"l": 68.431
},
"oklch": {
"l": 0.71441,
"c": 0.22953,
"h": 321.3
},
"luminance": 0.32226
}Semantic roles & 50–950 ramp
primary
#E166F7
secondary
#CDF2C7
accent
#E60023
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E17
muted
#857E85