#a820bc
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 | #a820bc | |
| RGB | rgb(168 32 188) | |
| HSL | hsl(292.31 70.91% 43.14%) | |
| OKLCH | oklch(0.54 0.24 321.95) | |
| CMYK | cmyk(10.64% 82.98% 0% 26.27%) | |
| Android | #ffa820bc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.83:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.59: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="#a820bc"
Gradient stop
<stop stop-color="#a820bc"/>
CSS variable + fill
:root { --c: #a820bc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a820bc; background-color: #a820bc; bg-[#a820bc]