#a641ab
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 | #a641ab | |
| RGB | rgb(166 65 171) | |
| HSL | hsl(297.17 44.92% 46.27%) | |
| OKLCH | oklch(0.55 0.18 325.8) | |
| CMYK | cmyk(2.92% 61.99% 0% 32.94%) | |
| Android | #ffa641ab |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.29:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.96: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="#a641ab"
Gradient stop
<stop stop-color="#a641ab"/>
CSS variable + fill
:root { --c: #a641ab; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a641ab; background-color: #a641ab; bg-[#a641ab]