#a747af
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 | #a747af | |
| RGB | rgb(167 71 175) | |
| HSL | hsl(295.38 42.28% 48.24%) | |
| OKLCH | oklch(0.56 0.18 324.53) | |
| CMYK | cmyk(4.57% 59.43% 0% 31.37%) | |
| Android | #ffa747af |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.04:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.16: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="#a747af"
Gradient stop
<stop stop-color="#a747af"/>
CSS variable + fill
:root { --c: #a747af; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a747af; background-color: #a747af; bg-[#a747af]