#E166F3#E166F3
#E166F3 is a light, highly saturated purple. Relative luminance 0.320; OKLCH L 71.2% C 0.226 H 322.4°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #E166F3 |
|---|---|
| RGB | rgb(225, 102, 243) |
| HSL | hsl(292, 85%, 68%) |
| HSV | hsv(292, 58%, 95%) |
| CMYK | cmyk(7.4%, 58%, 0%, 4.7%) |
| CIE-LAB | lab(63.33, 66.94, -49.67) |
| CIE-LCH | lch(63.33, 83.36, 323.43°) |
| OKLab | oklab(71.23% 0.179 -0.1379) |
| OKLCH | oklch(71.23% 0.226 322.4) |
| XYZ | xyz(51.9787, 31.9840, 88.2123) |
| Luminance | 0.3198 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.79
Violet Pink
#FB5FFC
ΔE00 3.83
Heliotrope
#D94FF5
ΔE00 4.50
Orchid
#DA70D6
ΔE00 5.01
Bright Lilac
#C95EFB
ΔE00 5.34
Purply Pink
#F075E6
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E166F3 #78F366
analogous
#9A66F3 #E166F3 #F366BF
triadic
#E166F3 #F3E166 #66F3E1
tetradic
#E166F3 #F39A66 #78F366 #66BFF3
square
#E166F3 #F39A66 #78F366 #66BFF3
split-complementary
#E166F3 #BFF366 #66F39A
monochromatic
#B610CE #D62DEF #E166F3 #EC9FF7 #F7D7FC
Accessibility & contrast
On white
2.84
#E166F3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.40
#E166F3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E166F3
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E166F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E166F3 | 1.00 | 2.84 | 7.40 | 7.40 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B90F7
Deuteranopia (green-blind)
#789EEF
Tritanopia (blue-blind)
#E47BA3
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #e166f3; /* rgb */ color: rgb(225, 102, 243); /* oklch */ color: oklch(71.2% 0.226 322.4);
Tailwind
colors: {
custom: {
50: '#ed98f7',
500: '#e166f3',
950: '#000000',
},
}SCSS
$custom: #e166f3; $custom-light: #ed98f7; $custom-dark: #000000;
JSON
{
"hex": "#e166f3",
"rgb": {
"r": 225,
"g": 102,
"b": 243
},
"hsl": {
"h": 292.34,
"s": 85.455,
"l": 67.647
},
"oklch": {
"l": 0.71229,
"c": 0.22596,
"h": 322.4
},
"luminance": 0.31981
}Semantic roles & 50–950 ramp
primary
#E166F3
secondary
#CAF0C5
accent
#E20420
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E17
muted
#857E85