#ac2ee5
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 | #ac2ee5 | |
| RGB | rgb(172 46 229) | |
| HSL | hsl(281.31 77.87% 53.92%) | |
| OKLCH | oklch(0.58 0.26 312.05) | |
| CMYK | cmyk(24.89% 79.91% 0% 10.2%) | |
| Android | #ffac2ee5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.91:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.27: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="#ac2ee5"
Gradient stop
<stop stop-color="#ac2ee5"/>
CSS variable + fill
:root { --c: #ac2ee5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ac2ee5; background-color: #ac2ee5; bg-[#ac2ee5]