#980bd5
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 | #980bd5 | |
| RGB | rgb(152 11 213) | |
| HSL | hsl(281.88 90.18% 43.92%) | |
| OKLCH | oklch(0.52 0.26 310.48) | |
| CMYK | cmyk(28.64% 94.84% 0% 16.47%) | |
| Android | #ff980bd5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.28:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.34: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="#980bd5"
Gradient stop
<stop stop-color="#980bd5"/>
CSS variable + fill
:root { --c: #980bd5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #980bd5; background-color: #980bd5; bg-[#980bd5]