#ab98de
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 | #ab98de | |
| RGB | rgb(171 152 222) | |
| HSL | hsl(256.29 51.47% 73.33%) | |
| OKLCH | oklch(0.72 0.1 296.23) | |
| CMYK | cmyk(22.97% 31.53% 0% 12.94%) | |
| Android | #ffab98de |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.53:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.27: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="#ab98de"
Gradient stop
<stop stop-color="#ab98de"/>
CSS variable + fill
:root { --c: #ab98de; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ab98de; background-color: #ab98de; bg-[#ab98de]