#a047e5
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 | #a047e5 | |
| RGB | rgb(160 71 229) | |
| HSL | hsl(273.8 75.24% 58.82%) | |
| OKLCH | oklch(0.59 0.23 306.31) | |
| CMYK | cmyk(30.13% 69% 0% 10.2%) | |
| Android | #ffa047e5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.63:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.52: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="#a047e5"
Gradient stop
<stop stop-color="#a047e5"/>
CSS variable + fill
:root { --c: #a047e5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a047e5; background-color: #a047e5; bg-[#a047e5]