#b051db
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 | #b051db | |
| RGB | rgb(176 81 219) | |
| HSL | hsl(281.3 65.71% 58.82%) | |
| OKLCH | oklch(0.61 0.21 313.64) | |
| CMYK | cmyk(19.63% 63.01% 0% 14.12%) | |
| Android | #ffb051db |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.16:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.04: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="#b051db"
Gradient stop
<stop stop-color="#b051db"/>
CSS variable + fill
:root { --c: #b051db; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b051db; background-color: #b051db; bg-[#b051db]