#E172FD#E172FD
#E172FD is a light, highly saturated purple. Relative luminance 0.351; OKLCH L 73.2% C 0.218 H 319.2°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #E172FD |
|---|---|
| RGB | rgb(225, 114, 253) |
| HSL | hsl(288, 97%, 72%) |
| HSV | hsv(288, 55%, 99%) |
| CMYK | cmyk(11.1%, 54.9%, 0%, 0.8%) |
| CIE-LAB | lab(65.85, 63.32, -51.18) |
| CIE-LCH | lch(65.85, 81.42, 321.05°) |
| OKLab | oklab(73.24% 0.1649 -0.1424) |
| OKLCH | oklch(73.24% 0.218 319.2) |
| XYZ | xyz(54.7960, 35.1363, 96.8050) |
| Luminance | 0.3513 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 4.41
Light Magenta
#FA5FF7
ΔE00 4.63
Purply Pink
#F075E6
ΔE00 5.55
Violet (CSS)
#EE82EE
ΔE00 5.61
Light Purple
#BF77F6
ΔE00 5.73
Easter Purple
#C071FE
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E172FD #8EFD72
analogous
#9C72FD #E172FD #FD72D3
triadic
#E172FD #FDE172 #72FDE1
tetradic
#E172FD #FD9C72 #8EFD72 #72D3FD
square
#E172FD #FD9C72 #8EFD72 #72D3FD
split-complementary
#E172FD #D3FD72 #72FD9C
monochromatic
#C103F1 #D436FC #E172FD #EEAEFE #F9E1FF
Accessibility & contrast
On white
2.62
#E172FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.03
#E172FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E172FD
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E172FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E172FD | 1.00 | 2.62 | 8.03 | 8.03 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#7BA4F9
Tritanopia (blue-blind)
#E287AD
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #e172fd; /* rgb */ color: rgb(225, 114, 253); /* oklch */ color: oklch(73.2% 0.218 319.2);
Tailwind
colors: {
custom: {
50: '#ed9ffe',
500: '#e172fd',
950: '#000000',
},
}SCSS
$custom: #e172fd; $custom-light: #ed9ffe; $custom-dark: #000000;
JSON
{
"hex": "#e172fd",
"rgb": {
"r": 225,
"g": 114,
"b": 253
},
"hsl": {
"h": 287.914,
"s": 97.203,
"l": 71.961
},
"oklch": {
"l": 0.73236,
"c": 0.21784,
"h": 319.2
},
"luminance": 0.35134
}Semantic roles & 50–950 ramp
primary
#E172FD
secondary
#DBF7D4
accent
#E6002E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F18
muted
#857F86