#ab82eb
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 | #ab82eb | |
| RGB | rgb(171 130 235) | |
| HSL | hsl(263.43 72.41% 71.57%) | |
| OKLCH | oklch(0.69 0.15 300.42) | |
| CMYK | cmyk(27.23% 44.68% 0% 7.84%) | |
| Android | #ffab82eb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.94:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.12:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#ab82eb"
Gradient stop
<stop stop-color="#ab82eb"/>
CSS variable + fill
:root { --c: #ab82eb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ab82eb; background-color: #ab82eb; bg-[#ab82eb]