#b048bf
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 | #b048bf | |
| RGB | rgb(176 72 191) | |
| HSL | hsl(292.44 48.18% 51.57%) | |
| OKLCH | oklch(0.59 0.2 322.44) | |
| CMYK | cmyk(7.85% 62.3% 0% 25.1%) | |
| Android | #ffb048bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.64:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.52:1
Pass 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="#b048bf"
Gradient stop
<stop stop-color="#b048bf"/>
CSS variable + fill
:root { --c: #b048bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b048bf; background-color: #b048bf; bg-[#b048bf]