#ab30eb
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 | #ab30eb | |
| RGB | rgb(171 48 235) | |
| HSL | hsl(279.47 82.38% 55.49%) | |
| OKLCH | oklch(0.59 0.26 310.27) | |
| CMYK | cmyk(27.23% 79.57% 0% 7.84%) | |
| Android | #ffab30eb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.82:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.35: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="#ab30eb"
Gradient stop
<stop stop-color="#ab30eb"/>
CSS variable + fill
:root { --c: #ab30eb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ab30eb; background-color: #ab30eb; bg-[#ab30eb]