#a579ff
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 | #a579ff | |
| RGB | rgb(165 121 255) | |
| HSL | hsl(259.7 100% 73.73%) | |
| OKLCH | oklch(0.68 0.19 296.05) | |
| CMYK | cmyk(35.29% 52.55% 0% 0%) | |
| Android | #ffa579ff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.09:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.77: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="#a579ff"
Gradient stop
<stop stop-color="#a579ff"/>
CSS variable + fill
:root { --c: #a579ff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a579ff; background-color: #a579ff; bg-[#a579ff]