#b31bbd
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 | #b31bbd | |
| RGB | rgb(179 27 189) | |
| HSL | hsl(296.3 75% 42.35%) | |
| OKLCH | oklch(0.55 0.24 325.25) | |
| CMYK | cmyk(5.29% 85.71% 0% 25.88%) | |
| Android | #ffb31bbd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.51:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.80:1
Fail 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="#b31bbd"
Gradient stop
<stop stop-color="#b31bbd"/>
CSS variable + fill
:root { --c: #b31bbd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b31bbd; background-color: #b31bbd; bg-[#b31bbd]