#b028cc
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 | #b028cc | |
| RGB | rgb(176 40 204) | |
| HSL | hsl(289.76 67.21% 47.84%) | |
| OKLCH | oklch(0.57 0.24 319.84) | |
| CMYK | cmyk(13.73% 80.39% 0% 20%) | |
| Android | #ffb028cc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.22:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.02: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="#b028cc"
Gradient stop
<stop stop-color="#b028cc"/>
CSS variable + fill
:root { --c: #b028cc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b028cc; background-color: #b028cc; bg-[#b028cc]