#E166D2#E166D2
#E166D2 is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.6% C 0.198 H 332.4°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #E166D2 |
|---|---|
| RGB | rgb(225, 102, 210) |
| HSL | hsl(307, 67%, 64%) |
| HSV | hsv(307, 55%, 88%) |
| CMYK | cmyk(0%, 54.7%, 6.7%, 11.8%) |
| CIE-LAB | lab(61.80, 61.27, -33.65) |
| CIE-LCH | lch(61.80, 69.90, 331.23°) |
| OKLab | oklab(69.61% 0.1754 -0.0918) |
| OKLCH | oklch(69.61% 0.198 332.4) |
| XYZ | xyz(47.4355, 30.1667, 64.2846) |
| Luminance | 0.3016 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.17
Purpleish Pink
#DF4EC8
ΔE00 4.42
Purply Pink
#F075E6
ΔE00 4.61
Candy Pink
#FF63E9
ΔE00 5.04
Orchid (survey)
#C875C4
ΔE00 5.06
Light Magenta
#FA5FF7
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E166D2 #66E175
analogous
#B366E1 #E166D2 #E16695
triadic
#E166D2 #D2E166 #66D2E1
tetradic
#E166D2 #E1B366 #66E175 #6695E1
square
#E166D2 #E1B366 #66E175 #6695E1
split-complementary
#E166D2 #95E166 #66E1B3
monochromatic
#AB229A #D733C3 #E166D2 #EB99E1 #F5CCF0
Accessibility & contrast
On white
2.99
#E166D2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.03
#E166D2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E166D2
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E166D2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E166D2 | 1.00 | 2.99 | 7.03 | 7.03 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#628AD5
Deuteranopia (green-blind)
#879CCF
Tritanopia (blue-blind)
#EA6F93
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #e166d2; /* rgb */ color: rgb(225, 102, 210); /* oklch */ color: oklch(69.6% 0.198 332.4);
Tailwind
colors: {
custom: {
50: '#ed97e0',
500: '#e166d2',
950: '#000000',
},
}SCSS
$custom: #e166d2; $custom-light: #ed97e0; $custom-dark: #000000;
JSON
{
"hex": "#e166d2",
"rgb": {
"r": 225,
"g": 102,
"b": 210
},
"hsl": {
"h": 307.317,
"s": 67.213,
"l": 64.118
},
"oklch": {
"l": 0.69608,
"c": 0.19794,
"h": 332.4
},
"luminance": 0.30163
}Semantic roles & 50–950 ramp
primary
#E166D2
secondary
#BCE7C1
accent
#CF2D16
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#170E15
muted
#857E83