#982cd6
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 | #982cd6 | |
| RGB | rgb(152 44 214) | |
| HSL | hsl(278.12 67.46% 50.59%) | |
| OKLCH | oklch(0.54 0.24 309.01) | |
| CMYK | cmyk(28.97% 79.44% 0% 16.08%) | |
| Android | #ff982cd6 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.72:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.66: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="#982cd6"
Gradient stop
<stop stop-color="#982cd6"/>
CSS variable + fill
:root { --c: #982cd6; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #982cd6; background-color: #982cd6; bg-[#982cd6]