#a166ad
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 | #a166ad | |
| RGB | rgb(161 102 173) | |
| HSL | hsl(289.86 30.21% 53.92%) | |
| OKLCH | oklch(0.6 0.12 320.67) | |
| CMYK | cmyk(6.94% 41.04% 0% 32.16%) | |
| Android | #ffa166ad |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.18:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.01: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="#a166ad"
Gradient stop
<stop stop-color="#a166ad"/>
CSS variable + fill
:root { --c: #a166ad; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a166ad; background-color: #a166ad; bg-[#a166ad]