#a956bc
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 | #a956bc | |
| RGB | rgb(169 86 188) | |
| HSL | hsl(288.82 43.22% 53.73%) | |
| OKLCH | oklch(0.59 0.17 319.87) | |
| CMYK | cmyk(10.11% 54.26% 0% 26.27%) | |
| Android | #ffa956bc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.42:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.74: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="#a956bc"
Gradient stop
<stop stop-color="#a956bc"/>
CSS variable + fill
:root { --c: #a956bc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a956bc; background-color: #a956bc; bg-[#a956bc]