#a547ff
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 | #a547ff | |
| RGB | rgb(165 71 255) | |
| HSL | hsl(270.65 100% 63.92%) | |
| OKLCH | oklch(0.61 0.26 302.64) | |
| CMYK | cmyk(35.29% 72.16% 0% 0%) | |
| Android | #ffa547ff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.24:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.94: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="#a547ff"
Gradient stop
<stop stop-color="#a547ff"/>
CSS variable + fill
:root { --c: #a547ff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a547ff; background-color: #a547ff; bg-[#a547ff]