#b46faa
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 | #b46faa | |
| RGB | rgb(180 111 170) | |
| HSL | hsl(308.7 31.51% 57.06%) | |
| OKLCH | oklch(0.64 0.12 332.23) | |
| CMYK | cmyk(0% 38.33% 5.56% 29.41%) | |
| Android | #ffb46faa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.62:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.79: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="#b46faa"
Gradient stop
<stop stop-color="#b46faa"/>
CSS variable + fill
:root { --c: #b46faa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b46faa; background-color: #b46faa; bg-[#b46faa]