#b954ba
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 | #b954ba | |
| RGB | rgb(185 84 186) | |
| HSL | hsl(299.41 42.5% 52.94%) | |
| OKLCH | oklch(0.61 0.18 327.13) | |
| CMYK | cmyk(0.54% 54.84% 0% 27.06%) | |
| Android | #ffb954ba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.16:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.04: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="#b954ba"
Gradient stop
<stop stop-color="#b954ba"/>
CSS variable + fill
:root { --c: #b954ba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b954ba; background-color: #b954ba; bg-[#b954ba]