#a473fd
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 | #a473fd | |
| RGB | rgb(164 115 253) | |
| HSL | hsl(261.3 97.18% 72.16%) | |
| OKLCH | oklch(0.67 0.2 297.12) | |
| CMYK | cmyk(35.18% 54.55% 0% 0.78%) | |
| Android | #ffa473fd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.25:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.44: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="#a473fd"
Gradient stop
<stop stop-color="#a473fd"/>
CSS variable + fill
:root { --c: #a473fd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a473fd; background-color: #a473fd; bg-[#a473fd]