#ab95dd
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 | #ab95dd | |
| RGB | rgb(171 149 221) | |
| HSL | hsl(258.33 51.43% 72.55%) | |
| OKLCH | oklch(0.72 0.11 297.73) | |
| CMYK | cmyk(22.62% 32.58% 0% 13.33%) | |
| Android | #ffab95dd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.60:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.07: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="#ab95dd"
Gradient stop
<stop stop-color="#ab95dd"/>
CSS variable + fill
:root { --c: #ab95dd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ab95dd; background-color: #ab95dd; bg-[#ab95dd]