#b548b9
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 | #b548b9 | |
| RGB | rgb(181 72 185) | |
| HSL | hsl(297.88 44.66% 50.39%) | |
| OKLCH | oklch(0.59 0.19 326.28) | |
| CMYK | cmyk(2.16% 61.08% 0% 27.45%) | |
| Android | #ffb548b9 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.57:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.59: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="#b548b9"
Gradient stop
<stop stop-color="#b548b9"/>
CSS variable + fill
:root { --c: #b548b9; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b548b9; background-color: #b548b9; bg-[#b548b9]