#a524da
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 | #a524da | |
| RGB | rgb(165 36 218) | |
| HSL | hsl(282.53 71.65% 49.8%) | |
| OKLCH | oklch(0.56 0.25 312.83) | |
| CMYK | cmyk(24.31% 83.49% 0% 14.51%) | |
| Android | #ffa524da |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.43:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.86: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="#a524da"
Gradient stop
<stop stop-color="#a524da"/>
CSS variable + fill
:root { --c: #a524da; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a524da; background-color: #a524da; bg-[#a524da]