#E166F8#E166F8
#E166F8 is a light, highly saturated purple. Relative luminance 0.323; OKLCH L 71.5% C 0.230 H 321.1°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #E166F8 |
|---|---|
| RGB | rgb(225, 102, 248) |
| HSL | hsl(291, 91%, 69%) |
| HSV | hsv(291, 59%, 97%) |
| CMYK | cmyk(9.3%, 58.9%, 0%, 2.7%) |
| CIE-LAB | lab(63.58, 67.85, -52.03) |
| CIE-LCH | lch(63.58, 85.51, 322.52°) |
| OKLab | oklab(71.5% 0.1793 -0.1448) |
| OKLCH | oklch(71.5% 0.23 321.1) |
| XYZ | xyz(52.7440, 32.2901, 92.2431) |
| Luminance | 0.3229 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 3.93
Light Magenta
#FA5FF7
ΔE00 4.02
Heliotrope
#D94FF5
ΔE00 4.43
Bright Lilac
#C95EFB
ΔE00 5.00
Bright Lavender
#C760FF
ΔE00 5.36
Orchid
#DA70D6
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E166F8 #7DF866
analogous
#9866F8 #E166F8 #F866C6
triadic
#E166F8 #F8E166 #66F8E1
tetradic
#E166F8 #F89866 #7DF866 #66C6F8
square
#E166F8 #F89866 #7DF866 #66C6F8
split-complementary
#E166F8 #C6F866 #66F898
monochromatic
#B90ADA #D62BF5 #E166F8 #ECA1FB #F8DBFD
Accessibility & contrast
On white
2.82
#E166F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.46
#E166F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E166F8
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E166F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E166F8 | 1.00 | 2.82 | 7.46 | 7.46 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4791FD
Deuteranopia (green-blind)
#759FF4
Tritanopia (blue-blind)
#E37CA6
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #e166f8; /* rgb */ color: rgb(225, 102, 248); /* oklch */ color: oklch(71.5% 0.230 321.1);
Tailwind
colors: {
custom: {
50: '#ee98fb',
500: '#e166f8',
950: '#000000',
},
}SCSS
$custom: #e166f8; $custom-light: #ee98fb; $custom-dark: #000000;
JSON
{
"hex": "#e166f8",
"rgb": {
"r": 225,
"g": 102,
"b": 248
},
"hsl": {
"h": 290.548,
"s": 91.25,
"l": 68.627
},
"oklch": {
"l": 0.71495,
"c": 0.23042,
"h": 321.1
},
"luminance": 0.32288
}Semantic roles & 50–950 ramp
primary
#E166F8
secondary
#CEF3C7
accent
#E60024
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E17
muted
#857E85