#b022da
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 | #b022da | |
| RGB | rgb(176 34 218) | |
| HSL | hsl(286.3 73.02% 49.41%) | |
| OKLCH | oklch(0.57 0.26 316.39) | |
| CMYK | cmyk(19.27% 84.4% 0% 14.51%) | |
| Android | #ffb022da |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.13:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.08: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="#b022da"
Gradient stop
<stop stop-color="#b022da"/>
CSS variable + fill
:root { --c: #b022da; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b022da; background-color: #b022da; bg-[#b022da]