#ab86de
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 | #ab86de | |
| RGB | rgb(171 134 222) | |
| HSL | hsl(265.23 57.14% 69.8%) | |
| OKLCH | oklch(0.69 0.13 302.47) | |
| CMYK | cmyk(22.97% 39.64% 0% 12.94%) | |
| Android | #ffab86de |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.91:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.19: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="#ab86de"
Gradient stop
<stop stop-color="#ab86de"/>
CSS variable + fill
:root { --c: #ab86de; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ab86de; background-color: #ab86de; bg-[#ab86de]