#976ecf
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 | #976ecf | |
| RGB | rgb(151 110 207) | |
| HSL | hsl(265.36 50.26% 62.16%) | |
| OKLCH | oklch(0.62 0.15 301.81) | |
| CMYK | cmyk(27.05% 46.86% 0% 18.82%) | |
| Android | #ff976ecf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.85:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.44: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="#976ecf"
Gradient stop
<stop stop-color="#976ecf"/>
CSS variable + fill
:root { --c: #976ecf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #976ecf; background-color: #976ecf; bg-[#976ecf]