#a116ab
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 | #a116ab | |
| RGB | rgb(161 22 171) | |
| HSL | hsl(295.97 77.2% 37.84%) | |
| OKLCH | oklch(0.51 0.23 324.97) | |
| CMYK | cmyk(5.85% 87.13% 0% 32.94%) | |
| Android | #ffa116ab |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.52:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.21: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="#a116ab"
Gradient stop
<stop stop-color="#a116ab"/>
CSS variable + fill
:root { --c: #a116ab; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a116ab; background-color: #a116ab; bg-[#a116ab]