#E172DF#E172DF
#E172DF is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.8% C 0.190 H 328.0°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #E172DF |
|---|---|
| RGB | rgb(225, 114, 223) |
| HSL | hsl(301, 65%, 66%) |
| HSV | hsv(301, 49%, 88%) |
| CMYK | cmyk(0%, 49.3%, 0.9%, 11.8%) |
| CIE-LAB | lab(64.46, 57.85, -36.79) |
| CIE-LCH | lch(64.46, 68.55, 327.55°) |
| OKLab | oklab(71.76% 0.1614 -0.1008) |
| OKLCH | oklch(71.76% 0.19 328) |
| XYZ | xyz(50.3872, 33.3727, 73.5853) |
| Luminance | 0.3337 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 1.66
Purply Pink
#F075E6
ΔE00 2.63
Violet (CSS)
#EE82EE
ΔE00 4.22
Candy Pink
#FF63E9
ΔE00 4.58
Lavender Pink
#DD85D7
ΔE00 4.65
Light Magenta
#FA5FF7
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E172DF #72E174
analogous
#AC72E1 #E172DF #E172A8
triadic
#E172DF #DFE172 #72DFE1
tetradic
#E172DF #E1AC72 #72E174 #72A8E1
square
#E172DF #E1AC72 #72E174 #72A8E1
split-complementary
#E172DF #A8E172 #72E1AC
monochromatic
#B326B0 #D640D4 #E172DF #ECA4EA #F6D7F6
Accessibility & contrast
On white
2.74
#E172DF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.67
#E172DF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E172DF
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E172DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E172DF | 1.00 | 2.74 | 7.67 | 7.67 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6993E3
Deuteranopia (green-blind)
#8AA2DC
Tritanopia (blue-blind)
#E77D9E
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #e172df; /* rgb */ color: rgb(225, 114, 223); /* oklch */ color: oklch(71.8% 0.190 328.0);
Tailwind
colors: {
custom: {
50: '#ed9fe9',
500: '#e172df',
950: '#000000',
},
}SCSS
$custom: #e172df; $custom-light: #ed9fe9; $custom-dark: #000000;
JSON
{
"hex": "#e172df",
"rgb": {
"r": 225,
"g": 114,
"b": 223
},
"hsl": {
"h": 301.081,
"s": 64.912,
"l": 66.471
},
"oklch": {
"l": 0.71757,
"c": 0.19032,
"h": 328
},
"luminance": 0.3337
}Semantic roles & 50–950 ramp
primary
#E172DF
secondary
#C5E9C6
accent
#CD1C19
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84