#aa51da
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 | #aa51da | |
| RGB | rgb(170 81 218) | |
| HSL | hsl(278.98 64.93% 58.63%) | |
| OKLCH | oklch(0.61 0.21 311.68) | |
| CMYK | cmyk(22.02% 62.84% 0% 14.51%) | |
| Android | #ffaa51da |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.28:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.89: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="#aa51da"
Gradient stop
<stop stop-color="#aa51da"/>
CSS variable + fill
:root { --c: #aa51da; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #aa51da; background-color: #aa51da; bg-[#aa51da]