#a16cab
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 | #a16cab | |
| RGB | rgb(161 108 171) | |
| HSL | hsl(290.48 27.27% 54.71%) | |
| OKLCH | oklch(0.61 0.11 321.06) | |
| CMYK | cmyk(5.85% 36.84% 0% 32.94%) | |
| Android | #ffa16cab |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.00:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.24:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#a16cab"
Gradient stop
<stop stop-color="#a16cab"/>
CSS variable + fill
:root { --c: #a16cab; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a16cab; background-color: #a16cab; bg-[#a16cab]