#a05baa
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 | #a05baa | |
| RGB | rgb(160 91 170) | |
| HSL | hsl(292.41 31.73% 51.18%) | |
| OKLCH | oklch(0.58 0.14 322.38) | |
| CMYK | cmyk(5.88% 46.47% 0% 33.33%) | |
| Android | #ffa05baa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.59:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.57:1
Pass 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="#a05baa"
Gradient stop
<stop stop-color="#a05baa"/>
CSS variable + fill
:root { --c: #a05baa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a05baa; background-color: #a05baa; bg-[#a05baa]