#a97fbe
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 | #a97fbe | |
| RGB | rgb(169 127 190) | |
| HSL | hsl(280 32.64% 62.16%) | |
| OKLCH | oklch(0.66 0.1 314.05) | |
| CMYK | cmyk(11.05% 33.16% 0% 25.49%) | |
| Android | #ffa97fbe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.24:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.46: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="#a97fbe"
Gradient stop
<stop stop-color="#a97fbe"/>
CSS variable + fill
:root { --c: #a97fbe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a97fbe; background-color: #a97fbe; bg-[#a97fbe]