#a10fa4
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 | #a10fa4 | |
| RGB | rgb(161 15 164) | |
| HSL | hsl(298.79 83.24% 35.1%) | |
| OKLCH | oklch(0.5 0.23 327.3) | |
| CMYK | cmyk(1.83% 90.85% 0% 35.69%) | |
| Android | #ffa10fa4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.73:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.11: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="#a10fa4"
Gradient stop
<stop stop-color="#a10fa4"/>
CSS variable + fill
:root { --c: #a10fa4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a10fa4; background-color: #a10fa4; bg-[#a10fa4]