#aa74bd
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 | #aa74bd | |
| RGB | rgb(170 116 189) | |
| HSL | hsl(284.38 35.61% 59.8%) | |
| OKLCH | oklch(0.64 0.12 316.97) | |
| CMYK | cmyk(10.05% 38.62% 0% 25.88%) | |
| Android | #ffaa74bd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.53:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.94: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="#aa74bd"
Gradient stop
<stop stop-color="#aa74bd"/>
CSS variable + fill
:root { --c: #aa74bd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #aa74bd; background-color: #aa74bd; bg-[#aa74bd]