#b150bc
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 | #b150bc | |
| RGB | rgb(177 80 188) | |
| HSL | hsl(293.89 44.63% 52.55%) | |
| OKLCH | oklch(0.6 0.18 323.48) | |
| CMYK | cmyk(5.85% 57.45% 0% 26.27%) | |
| Android | #ffb150bc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.42:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.74: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="#b150bc"
Gradient stop
<stop stop-color="#b150bc"/>
CSS variable + fill
:root { --c: #b150bc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b150bc; background-color: #b150bc; bg-[#b150bc]