#E172DB#E172DB
#E172DB is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.6% C 0.187 H 329.4°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #E172DB |
|---|---|
| RGB | rgb(225, 114, 219) |
| HSL | hsl(303, 65%, 66%) |
| HSV | hsv(303, 49%, 88%) |
| CMYK | cmyk(0%, 49.3%, 2.7%, 11.8%) |
| CIE-LAB | lab(64.29, 57.16, -34.82) |
| CIE-LCH | lch(64.29, 66.93, 328.65°) |
| OKLab | oklab(71.57% 0.1608 -0.0952) |
| OKLCH | oklch(71.57% 0.187 329.4) |
| XYZ | xyz(49.8543, 33.1596, 70.7786) |
| Luminance | 0.3316 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 1.36
Purply Pink
#F075E6
ΔE00 2.71
Lavender Pink
#DD85D7
ΔE00 4.35
Violet (CSS)
#EE82EE
ΔE00 4.44
Candy Pink
#FF63E9
ΔE00 4.65
Orchid (survey)
#C875C4
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E172DB #72E178
analogous
#B072E1 #E172DB #E172A4
triadic
#E172DB #DBE172 #72DBE1
tetradic
#E172DB #E1B072 #72E178 #72A4E1
square
#E172DB #E1B072 #72E178 #72A4E1
split-complementary
#E172DB #A4E172 #72E1B0
monochromatic
#B326AB #D640CE #E172DB #ECA4E8 #F6D7F5
Accessibility & contrast
On white
2.75
#E172DB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.63
#E172DB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E172DB
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E172DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E172DB | 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)
#6B92DF
Deuteranopia (green-blind)
#8BA1D8
Tritanopia (blue-blind)
#E87C9D
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #e172db; /* rgb */ color: rgb(225, 114, 219); /* oklch */ color: oklch(71.6% 0.187 329.4);
Tailwind
colors: {
custom: {
50: '#ed9ee6',
500: '#e172db',
950: '#000000',
},
}SCSS
$custom: #e172db; $custom-light: #ed9ee6; $custom-dark: #000000;
JSON
{
"hex": "#e172db",
"rgb": {
"r": 225,
"g": 114,
"b": 219
},
"hsl": {
"h": 303.243,
"s": 64.912,
"l": 66.471
},
"oklch": {
"l": 0.71573,
"c": 0.18685,
"h": 329.4
},
"luminance": 0.33157
}Semantic roles & 50–950 ramp
primary
#E172DB
secondary
#C5E9C7
accent
#CD2219
background
#FEFAFE
surface
#FDF3FC
border
#D5CDD5
text
#170F16
muted
#857F84