#E172FB#E172FB
#E172FB is a light, highly saturated purple. Relative luminance 0.350; OKLCH L 73.1% C 0.216 H 319.7°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #E172FB |
|---|---|
| RGB | rgb(225, 114, 251) |
| HSL | hsl(289, 94%, 72%) |
| HSV | hsv(289, 55%, 98%) |
| CMYK | cmyk(10.4%, 54.6%, 0%, 1.6%) |
| CIE-LAB | lab(65.76, 62.94, -50.24) |
| CIE-LCH | lch(65.76, 80.53, 321.40°) |
| OKLab | oklab(73.13% 0.1647 -0.1397) |
| OKLCH | oklch(73.13% 0.216 319.7) |
| XYZ | xyz(54.4791, 35.0095, 95.1359) |
| Luminance | 0.3501 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 4.32
Light Magenta
#FA5FF7
ΔE00 4.50
Purply Pink
#F075E6
ΔE00 5.29
Violet (CSS)
#EE82EE
ΔE00 5.41
Light Purple
#BF77F6
ΔE00 5.81
Orchid
#DA70D6
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E172FB #8CFB72
analogous
#9D72FB #E172FB #FB72D1
triadic
#E172FB #FBE172 #72FBE1
tetradic
#E172FB #FB9D72 #8CFB72 #72D1FB
square
#E172FB #FB9D72 #8CFB72 #72D1FB
split-complementary
#E172FB #D1FB72 #72FB9D
monochromatic
#C007EC #D436F9 #E172FB #EEAEFD #F9E1FE
Accessibility & contrast
On white
2.62
#E172FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.00
#E172FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E172FB
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E172FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E172FB | 1.00 | 2.62 | 8.00 | 8.00 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#7CA4F7
Tritanopia (blue-blind)
#E286AC
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #e172fb; /* rgb */ color: rgb(225, 114, 251); /* oklch */ color: oklch(73.1% 0.216 319.7);
Tailwind
colors: {
custom: {
50: '#ed9ffd',
500: '#e172fb',
950: '#000000',
},
}SCSS
$custom: #e172fb; $custom-light: #ed9ffd; $custom-dark: #000000;
JSON
{
"hex": "#e172fb",
"rgb": {
"r": 225,
"g": 114,
"b": 251
},
"hsl": {
"h": 288.613,
"s": 94.483,
"l": 71.569
},
"oklch": {
"l": 0.73132,
"c": 0.21594,
"h": 319.7
},
"luminance": 0.35007
}Semantic roles & 50–950 ramp
primary
#E172FB
secondary
#D9F6D3
accent
#E6002C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F18
muted
#857F86