#a98ebf
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 | #a98ebf | |
| RGB | rgb(169 142 191) | |
| HSL | hsl(273.06 27.68% 65.29%) | |
| OKLCH | oklch(0.69 0.08 309.44) | |
| CMYK | cmyk(11.52% 25.65% 0% 25.1%) | |
| Android | #ffa98ebf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.87:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.30: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="#a98ebf"
Gradient stop
<stop stop-color="#a98ebf"/>
CSS variable + fill
:root { --c: #a98ebf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a98ebf; background-color: #a98ebf; bg-[#a98ebf]