#aa5bed
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 | #aa5bed | |
| RGB | rgb(170 91 237) | |
| HSL | hsl(272.47 80.22% 64.31%) | |
| OKLCH | oklch(0.63 0.21 306.07) | |
| CMYK | cmyk(28.27% 61.6% 0% 7.06%) | |
| Android | #ffaa5bed |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.86:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.42: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="#aa5bed"
Gradient stop
<stop stop-color="#aa5bed"/>
CSS variable + fill
:root { --c: #aa5bed; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #aa5bed; background-color: #aa5bed; bg-[#aa5bed]