#a91de2
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 | #a91de2 | |
| RGB | rgb(169 29 226) | |
| HSL | hsl(282.64 77.25% 50%) | |
| OKLCH | oklch(0.56 0.27 312.44) | |
| CMYK | cmyk(25.22% 87.17% 0% 11.37%) | |
| Android | #ffa91de2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.30:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.96: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="#a91de2"
Gradient stop
<stop stop-color="#a91de2"/>
CSS variable + fill
:root { --c: #a91de2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a91de2; background-color: #a91de2; bg-[#a91de2]