#aa5cff
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 | #aa5cff | |
| RGB | rgb(170 92 255) | |
| HSL | hsl(268.71 100% 68.04%) | |
| OKLCH | oklch(0.64 0.23 302.25) | |
| CMYK | cmyk(33.33% 63.92% 0% 0%) | |
| Android | #ffaa5cff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.69:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.68: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="#aa5cff"
Gradient stop
<stop stop-color="#aa5cff"/>
CSS variable + fill
:root { --c: #aa5cff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #aa5cff; background-color: #aa5cff; bg-[#aa5cff]