#980bb4
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 | #980bb4 | |
| RGB | rgb(152 11 180) | |
| HSL | hsl(290.06 88.48% 37.45%) | |
| OKLCH | oklch(0.5 0.24 319.3) | |
| CMYK | cmyk(15.56% 93.89% 0% 29.41%) | |
| Android | #ff980bb4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.90:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.04:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#980bb4"
Gradient stop
<stop stop-color="#980bb4"/>
CSS variable + fill
:root { --c: #980bb4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #980bb4; background-color: #980bb4; bg-[#980bb4]