#8a548f
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 | #8a548f | |
| RGB | rgb(138 84 143) | |
| HSL | hsl(294.92 25.99% 44.51%) | |
| OKLCH | oklch(0.53 0.11 323.92) | |
| CMYK | cmyk(3.5% 41.26% 0% 43.92%) | |
| Android | #ff8a548f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.60:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.74:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#8a548f"
Gradient stop
<stop stop-color="#8a548f"/>
CSS variable + fill
:root { --c: #8a548f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8a548f; background-color: #8a548f; bg-[#8a548f]