#a13dfa
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 | #a13dfa | |
| RGB | rgb(161 61 250) | |
| HSL | hsl(271.75 94.97% 60.98%) | |
| OKLCH | oklch(0.6 0.26 303.09) | |
| CMYK | cmyk(35.6% 75.6% 0% 1.96%) | |
| Android | #ffa13dfa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.60:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.56:1
Pass 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="#a13dfa"
Gradient stop
<stop stop-color="#a13dfa"/>
CSS variable + fill
:root { --c: #a13dfa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a13dfa; background-color: #a13dfa; bg-[#a13dfa]