#bb5bd6
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 | #bb5bd6 | |
| RGB | rgb(187 91 214) | |
| HSL | hsl(286.83 60% 59.8%) | |
| OKLCH | oklch(0.64 0.2 318.32) | |
| CMYK | cmyk(12.62% 57.48% 0% 16.08%) | |
| Android | #ffbb5bd6 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.76:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.58: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="#bb5bd6"
Gradient stop
<stop stop-color="#bb5bd6"/>
CSS variable + fill
:root { --c: #bb5bd6; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bb5bd6; background-color: #bb5bd6; bg-[#bb5bd6]