#e877fb
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #e877fb | |
| RGB | rgb(232 119 251) | |
| HSL | hsl(291.36 94.29% 72.55%) | |
| OKLCH | oklch(0.75 0.21 321.7) | |
| CMYK | cmyk(7.57% 52.59% 0% 1.57%) | |
| Android | #ffe877fb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.48:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.46:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#e877fb"
Gradient stop
<stop stop-color="#e877fb"/>
CSS variable + fill
:root { --c: #e877fb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e877fb; background-color: #e877fb; bg-[#e877fb]