#E166D3#E166D3
#E166D3 is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.7% C 0.199 H 332.0°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #E166D3 |
|---|---|
| RGB | rgb(225, 102, 211) |
| HSL | hsl(307, 67%, 64%) |
| HSV | hsv(307, 55%, 88%) |
| CMYK | cmyk(0%, 54.7%, 6.2%, 11.8%) |
| CIE-LAB | lab(61.84, 61.43, -34.14) |
| CIE-LCH | lch(61.84, 70.28, 330.93°) |
| OKLab | oklab(69.65% 0.1755 -0.0932) |
| OKLCH | oklch(69.65% 0.199 332) |
| XYZ | xyz(47.5604, 30.2167, 64.9428) |
| Luminance | 0.3021 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.10
Purpleish Pink
#DF4EC8
ΔE00 4.46
Purply Pink
#F075E6
ΔE00 4.54
Candy Pink
#FF63E9
ΔE00 4.98
Orchid (survey)
#C875C4
ΔE00 5.11
Light Magenta
#FA5FF7
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E166D3 #66E174
analogous
#B266E1 #E166D3 #E16696
triadic
#E166D3 #D3E166 #66D3E1
tetradic
#E166D3 #E1B266 #66E174 #6696E1
square
#E166D3 #E1B266 #66E174 #6696E1
split-complementary
#E166D3 #96E166 #66E1B2
monochromatic
#AB229B #D733C4 #E166D3 #EB99E2 #F5CCF0
Accessibility & contrast
On white
2.98
#E166D3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.04
#E166D3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E166D3
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E166D3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E166D3 | 1.00 | 2.98 | 7.04 | 7.04 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#628AD6
Deuteranopia (green-blind)
#879CD0
Tritanopia (blue-blind)
#E97093
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #e166d3; /* rgb */ color: rgb(225, 102, 211); /* oklch */ color: oklch(69.7% 0.199 332.0);
Tailwind
colors: {
custom: {
50: '#ed97e1',
500: '#e166d3',
950: '#000000',
},
}SCSS
$custom: #e166d3; $custom-light: #ed97e1; $custom-dark: #000000;
JSON
{
"hex": "#e166d3",
"rgb": {
"r": 225,
"g": 102,
"b": 211
},
"hsl": {
"h": 306.829,
"s": 67.213,
"l": 64.118
},
"oklch": {
"l": 0.69654,
"c": 0.19875,
"h": 332
},
"luminance": 0.30213
}Semantic roles & 50–950 ramp
primary
#E166D3
secondary
#BCE7C1
accent
#CF2B16
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#170E15
muted
#857E83