#b422cf
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 | #b422cf | |
| RGB | rgb(180 34 207) | |
| HSL | hsl(290.64 71.78% 47.25%) | |
| OKLCH | oklch(0.57 0.25 320.44) | |
| CMYK | cmyk(13.04% 83.57% 0% 18.82%) | |
| Android | #ffb422cf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.15:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.07: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="#b422cf"
Gradient stop
<stop stop-color="#b422cf"/>
CSS variable + fill
:root { --c: #b422cf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b422cf; background-color: #b422cf; bg-[#b422cf]