#E172CF#E172CF
#E172CF is a light, vivid purple. Relative luminance 0.325; OKLCH L 71.0% C 0.177 H 333.7°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #E172CF |
|---|---|
| RGB | rgb(225, 114, 207) |
| HSL | hsl(310, 65%, 66%) |
| HSV | hsv(310, 49%, 88%) |
| CMYK | cmyk(0%, 49.3%, 8%, 11.8%) |
| CIE-LAB | lab(63.80, 55.14, -28.86) |
| CIE-LCH | lch(63.80, 62.24, 332.37°) |
| OKLab | oklab(71.04% 0.1585 -0.0783) |
| OKLCH | oklch(71.04% 0.177 333.7) |
| XYZ | xyz(48.3311, 32.5503, 62.7566) |
| Luminance | 0.3255 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.42
Purply Pink
#F075E6
ΔE00 3.92
Lavender Pink
#DD85D7
ΔE00 4.15
Orchid (survey)
#C875C4
ΔE00 4.33
Candy Pink
#FF63E9
ΔE00 5.47
Violet (CSS)
#EE82EE
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E172CF #72E184
analogous
#BC72E1 #E172CF #E17298
triadic
#E172CF #CFE172 #72CFE1
tetradic
#E172CF #E1BC72 #72E184 #7298E1
square
#E172CF #E1BC72 #72E184 #7298E1
split-complementary
#E172CF #98E172 #72E1BC
monochromatic
#B3269C #D640BE #E172CF #ECA4E0 #F6D7F1
Accessibility & contrast
On white
2.80
#E172CF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.51
#E172CF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E172CF
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E172CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E172CF | 1.00 | 2.80 | 7.51 | 7.51 |
| #FFFFFF | 2.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7190D2
Deuteranopia (green-blind)
#90A0CC
Tritanopia (blue-blind)
#EA7997
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #e172cf; /* rgb */ color: rgb(225, 114, 207); /* oklch */ color: oklch(71.0% 0.177 333.7);
Tailwind
colors: {
custom: {
50: '#ed9ede',
500: '#e172cf',
950: '#000000',
},
}SCSS
$custom: #e172cf; $custom-light: #ed9ede; $custom-dark: #000000;
JSON
{
"hex": "#e172cf",
"rgb": {
"r": 225,
"g": 114,
"b": 207
},
"hsl": {
"h": 309.73,
"s": 64.912,
"l": 66.471
},
"oklch": {
"l": 0.71044,
"c": 0.17681,
"h": 333.7
},
"luminance": 0.32547
}Semantic roles & 50–950 ramp
primary
#E172CF
secondary
#C5E9CB
accent
#CD3619
background
#FEFAFD
surface
#FDF3FB
border
#D5CDD4
text
#170F15
muted
#857F83