#ab34cb
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 | #ab34cb | |
| RGB | rgb(171 52 203) | |
| HSL | hsl(287.28 59.22% 50%) | |
| OKLCH | oklch(0.57 0.23 318.02) | |
| CMYK | cmyk(15.76% 74.38% 0% 20.39%) | |
| Android | #ffab34cb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.14:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.08: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="#ab34cb"
Gradient stop
<stop stop-color="#ab34cb"/>
CSS variable + fill
:root { --c: #ab34cb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ab34cb; background-color: #ab34cb; bg-[#ab34cb]