#a52fae
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 | #a52fae | |
| RGB | rgb(165 47 174) | |
| HSL | hsl(295.75 57.47% 43.33%) | |
| OKLCH | oklch(0.54 0.21 324.89) | |
| CMYK | cmyk(5.17% 72.99% 0% 31.76%) | |
| Android | #ffa52fae |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.80:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.61:1
Fail 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="#a52fae"
Gradient stop
<stop stop-color="#a52fae"/>
CSS variable + fill
:root { --c: #a52fae; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a52fae; background-color: #a52fae; bg-[#a52fae]