#976ccc
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 | #976ccc | |
| RGB | rgb(151 108 204) | |
| HSL | hsl(266.88 48.48% 61.18%) | |
| OKLCH | oklch(0.62 0.15 303.05) | |
| CMYK | cmyk(25.98% 47.06% 0% 20%) | |
| Android | #ff976ccc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.93:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.33: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="#976ccc"
Gradient stop
<stop stop-color="#976ccc"/>
CSS variable + fill
:root { --c: #976ccc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #976ccc; background-color: #976ccc; bg-[#976ccc]