#a473eb
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 | #a473eb | |
| RGB | rgb(164 115 235) | |
| HSL | hsl(264.5 75% 68.63%) | |
| OKLCH | oklch(0.66 0.18 300.49) | |
| CMYK | cmyk(30.21% 51.06% 0% 7.84%) | |
| Android | #ffa473eb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.37:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.23: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="#a473eb"
Gradient stop
<stop stop-color="#a473eb"/>
CSS variable + fill
:root { --c: #a473eb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a473eb; background-color: #a473eb; bg-[#a473eb]