#b396bd
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 | #b396bd | |
| RGB | rgb(179 150 189) | |
| HSL | hsl(284.62 22.81% 66.47%) | |
| OKLCH | oklch(0.71 0.06 317.37) | |
| CMYK | cmyk(5.29% 20.63% 0% 25.88%) | |
| Android | #ffb396bd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.62:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.01: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="#b396bd"
Gradient stop
<stop stop-color="#b396bd"/>
CSS variable + fill
:root { --c: #b396bd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b396bd; background-color: #b396bd; bg-[#b396bd]