#a12bbf
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 | #a12bbf | |
| RGB | rgb(161 43 191) | |
| HSL | hsl(287.84 63.25% 45.88%) | |
| OKLCH | oklch(0.54 0.23 318.34) | |
| CMYK | cmyk(15.71% 77.49% 0% 25.1%) | |
| Android | #ffa12bbf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.81:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.61: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="#a12bbf"
Gradient stop
<stop stop-color="#a12bbf"/>
CSS variable + fill
:root { --c: #a12bbf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a12bbf; background-color: #a12bbf; bg-[#a12bbf]