#b551b2
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 | #b551b2 | |
| RGB | rgb(181 81 178) | |
| HSL | hsl(301.8 40.32% 51.37%) | |
| OKLCH | oklch(0.6 0.18 328.66) | |
| CMYK | cmyk(0% 55.25% 1.66% 29.02%) | |
| Android | #ffb551b2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.38:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.78: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="#b551b2"
Gradient stop
<stop stop-color="#b551b2"/>
CSS variable + fill
:root { --c: #b551b2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b551b2; background-color: #b551b2; bg-[#b551b2]