#ab00ce
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 | #ab00ce | |
| RGB | rgb(171 0 206) | |
| HSL | hsl(289.81 100% 40.39%) | |
| OKLCH | oklch(0.54 0.26 318.47) | |
| CMYK | cmyk(16.99% 100% 0% 19.22%) | |
| Android | #ffab00ce |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.79:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.62: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="#ab00ce"
Gradient stop
<stop stop-color="#ab00ce"/>
CSS variable + fill
:root { --c: #ab00ce; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ab00ce; background-color: #ab00ce; bg-[#ab00ce]