#E171DF#E171DF
#E171DF is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.6% C 0.192 H 328.0°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #E171DF |
|---|---|
| RGB | rgb(225, 113, 223) |
| HSL | hsl(301, 65%, 66%) |
| HSV | hsv(301, 50%, 88%) |
| CMYK | cmyk(0%, 49.8%, 0.9%, 11.8%) |
| CIE-LAB | lab(64.28, 58.33, -37.07) |
| CIE-LCH | lch(64.28, 69.11, 327.56°) |
| OKLab | oklab(71.62% 0.1628 -0.1016) |
| OKLCH | oklch(71.62% 0.192 328) |
| XYZ | xyz(50.2750, 33.1484, 73.5479) |
| Luminance | 0.3315 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 1.62
Purply Pink
#F075E6
ΔE00 2.72
Violet (CSS)
#EE82EE
ΔE00 4.38
Candy Pink
#FF63E9
ΔE00 4.54
Light Magenta
#FA5FF7
ΔE00 4.78
Lavender Pink
#DD85D7
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E171DF #71E173
analogous
#AB71E1 #E171DF #E171A7
triadic
#E171DF #DFE171 #71DFE1
tetradic
#E171DF #E1AB71 #71E173 #71A7E1
square
#E171DF #E1AB71 #71E173 #71A7E1
split-complementary
#E171DF #A7E171 #71E1AB
monochromatic
#B226AF #D63ED4 #E171DF #ECA4EA #F6D6F6
Accessibility & contrast
On white
2.75
#E171DF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.63
#E171DF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E171DF
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E171DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E171DF | 1.00 | 2.75 | 7.63 | 7.63 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6892E3
Deuteranopia (green-blind)
#89A1DC
Tritanopia (blue-blind)
#E77D9E
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #e171df; /* rgb */ color: rgb(225, 113, 223); /* oklch */ color: oklch(71.6% 0.192 328.0);
Tailwind
colors: {
custom: {
50: '#ed9ee9',
500: '#e171df',
950: '#000000',
},
}SCSS
$custom: #e171df; $custom-light: #ed9ee9; $custom-dark: #000000;
JSON
{
"hex": "#e171df",
"rgb": {
"r": 225,
"g": 113,
"b": 223
},
"hsl": {
"h": 301.071,
"s": 65.116,
"l": 66.275
},
"oklch": {
"l": 0.71623,
"c": 0.19189,
"h": 328
},
"luminance": 0.33146
}Semantic roles & 50–950 ramp
primary
#E171DF
secondary
#C5E9C5
accent
#CD1C19
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84