#a005b2
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 | #a005b2 | |
| RGB | rgb(160 5 178) | |
| HSL | hsl(293.76 94.54% 35.88%) | |
| OKLCH | oklch(0.51 0.24 322.67) | |
| CMYK | cmyk(10.11% 97.19% 0% 30.2%) | |
| Android | #ffa005b2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.64:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.15: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="#a005b2"
Gradient stop
<stop stop-color="#a005b2"/>
CSS variable + fill
:root { --c: #a005b2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a005b2; background-color: #a005b2; bg-[#a005b2]