#a56abe
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 | #a56abe | |
| RGB | rgb(165 106 190) | |
| HSL | hsl(282.14 39.25% 58.04%) | |
| OKLCH | oklch(0.62 0.14 315.23) | |
| CMYK | cmyk(13.16% 44.21% 0% 25.49%) | |
| Android | #ffa56abe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.88:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.40: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="#a56abe"
Gradient stop
<stop stop-color="#a56abe"/>
CSS variable + fill
:root { --c: #a56abe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a56abe; background-color: #a56abe; bg-[#a56abe]