#8973ca
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 | #8973ca | |
| RGB | rgb(137 115 202) | |
| HSL | hsl(255.17 45.08% 62.16%) | |
| OKLCH | oklch(0.61 0.13 293.86) | |
| CMYK | cmyk(32.18% 43.07% 0% 20.78%) | |
| Android | #ff8973ca |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.91:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.36: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="#8973ca"
Gradient stop
<stop stop-color="#8973ca"/>
CSS variable + fill
:root { --c: #8973ca; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8973ca; background-color: #8973ca; bg-[#8973ca]