#E172E9#E172E9
#E172E9 is a light, vivid purple. Relative luminance 0.339; OKLCH L 72.2% C 0.199 H 324.8°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #E172E9 |
|---|---|
| RGB | rgb(225, 114, 233) |
| HSL | hsl(296, 73%, 68%) |
| HSV | hsv(296, 51%, 91%) |
| CMYK | cmyk(3.4%, 51.1%, 0%, 8.6%) |
| CIE-LAB | lab(64.91, 59.62, -41.65) |
| CIE-LCH | lch(64.91, 72.73, 325.06°) |
| OKLab | oklab(72.23% 0.1628 -0.1148) |
| OKLCH | oklch(72.23% 0.199 324.8) |
| XYZ | xyz(51.7754, 33.9280, 80.8966) |
| Luminance | 0.3392 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.05
Purply Pink
#F075E6
ΔE00 3.16
Violet (CSS)
#EE82EE
ΔE00 4.17
Light Magenta
#FA5FF7
ΔE00 4.18
Violet Pink
#FB5FFC
ΔE00 4.46
Candy Pink
#FF63E9
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E172E9 #7AE972
analogous
#A572E9 #E172E9 #E972B6
triadic
#E172E9 #E9E172 #72E9E1
tetradic
#E172E9 #E9A572 #7AE972 #72B6E9
square
#E172E9 #E9A572 #7AE972 #72B6E9
split-complementary
#E172E9 #B6E972 #72E9A5
monochromatic
#B71EC2 #D63DE1 #E172E9 #ECA7F1 #F8DCFA
Accessibility & contrast
On white
2.70
#E172E9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#E172E9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E172E9
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E172E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E172E9 | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6395ED
Deuteranopia (green-blind)
#85A2E6
Tritanopia (blue-blind)
#E581A3
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #e172e9; /* rgb */ color: rgb(225, 114, 233); /* oklch */ color: oklch(72.2% 0.199 324.8);
Tailwind
colors: {
custom: {
50: '#ed9ff0',
500: '#e172e9',
950: '#000000',
},
}SCSS
$custom: #e172e9; $custom-light: #ed9ff0; $custom-dark: #000000;
JSON
{
"hex": "#e172e9",
"rgb": {
"r": 225,
"g": 114,
"b": 233
},
"hsl": {
"h": 295.966,
"s": 73.006,
"l": 68.039
},
"oklch": {
"l": 0.72229,
"c": 0.19925,
"h": 324.8
},
"luminance": 0.33925
}Semantic roles & 50–950 ramp
primary
#E172E9
secondary
#CCEEC9
accent
#D5101E
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84