#b154bf
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 | #b154bf | |
| RGB | rgb(177 84 191) | |
| HSL | hsl(292.15 45.53% 53.92%) | |
| OKLCH | oklch(0.6 0.18 322.25) | |
| CMYK | cmyk(7.33% 56.02% 0% 25.1%) | |
| Android | #ffb154bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.29:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.88: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="#b154bf"
Gradient stop
<stop stop-color="#b154bf"/>
CSS variable + fill
:root { --c: #b154bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b154bf; background-color: #b154bf; bg-[#b154bf]