#8970bd
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 | #8970bd | |
| RGB | rgb(137 112 189) | |
| HSL | hsl(259.48 36.84% 59.02%) | |
| OKLCH | oklch(0.6 0.12 297.75) | |
| CMYK | cmyk(27.51% 40.74% 0% 25.88%) | |
| Android | #ff8970bd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.10:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.11: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="#8970bd"
Gradient stop
<stop stop-color="#8970bd"/>
CSS variable + fill
:root { --c: #8970bd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8970bd; background-color: #8970bd; bg-[#8970bd]