#985cb1
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 | #985cb1 | |
| RGB | rgb(152 92 177) | |
| HSL | hsl(282.35 35.27% 52.75%) | |
| OKLCH | oklch(0.58 0.14 315.26) | |
| CMYK | cmyk(14.12% 48.02% 0% 30.59%) | |
| Android | #ff985cb1 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.66:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.50:1
Pass 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="#985cb1"
Gradient stop
<stop stop-color="#985cb1"/>
CSS variable + fill
:root { --c: #985cb1; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #985cb1; background-color: #985cb1; bg-[#985cb1]