#e474fb
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 | #e474fb | |
| RGB | rgb(228 116 251) | |
| HSL | hsl(289.78 94.41% 71.96%) | |
| OKLCH | oklch(0.74 0.21 320.56) | |
| CMYK | cmyk(9.16% 53.78% 0% 1.57%) | |
| Android | #ffe474fb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.56:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.18: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="#e474fb"
Gradient stop
<stop stop-color="#e474fb"/>
CSS variable + fill
:root { --c: #e474fb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e474fb; background-color: #e474fb; bg-[#e474fb]