#a820ac
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 | #a820ac | |
| RGB | rgb(168 32 172) | |
| HSL | hsl(298.29 68.63% 40%) | |
| OKLCH | oklch(0.53 0.22 326.86) | |
| CMYK | cmyk(2.33% 81.4% 0% 32.55%) | |
| Android | #ffa820ac |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.05:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.46: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="#a820ac"
Gradient stop
<stop stop-color="#a820ac"/>
CSS variable + fill
:root { --c: #a820ac; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a820ac; background-color: #a820ac; bg-[#a820ac]