#a656bf
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 | #a656bf | |
| RGB | rgb(166 86 191) | |
| HSL | hsl(285.71 45.06% 54.31%) | |
| OKLCH | oklch(0.59 0.17 317.56) | |
| CMYK | cmyk(13.09% 54.97% 0% 25.1%) | |
| Android | #ffa656bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.46:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.70: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="#a656bf"
Gradient stop
<stop stop-color="#a656bf"/>
CSS variable + fill
:root { --c: #a656bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a656bf; background-color: #a656bf; bg-[#a656bf]