#a820bf
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 | #a820bf | |
| RGB | rgb(168 32 191) | |
| HSL | hsl(291.32 71.3% 43.73%) | |
| OKLCH | oklch(0.54 0.24 321.08) | |
| CMYK | cmyk(12.04% 83.25% 0% 25.1%) | |
| Android | #ffa820bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.79:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.62: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="#a820bf"
Gradient stop
<stop stop-color="#a820bf"/>
CSS variable + fill
:root { --c: #a820bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a820bf; background-color: #a820bf; bg-[#a820bf]