#b221dc
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 | #b221dc | |
| RGB | rgb(178 33 220) | |
| HSL | hsl(286.52 73.91% 49.61%) | |
| OKLCH | oklch(0.57 0.26 316.55) | |
| CMYK | cmyk(19.09% 85% 0% 13.73%) | |
| Android | #ffb221dc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.06:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.14: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="#b221dc"
Gradient stop
<stop stop-color="#b221dc"/>
CSS variable + fill
:root { --c: #b221dc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b221dc; background-color: #b221dc; bg-[#b221dc]