#985eb7
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 | #985eb7 | |
| RGB | rgb(152 94 183) | |
| HSL | hsl(279.1 38.2% 54.31%) | |
| OKLCH | oklch(0.58 0.14 312.76) | |
| CMYK | cmyk(16.94% 48.63% 0% 28.24%) | |
| Android | #ff985eb7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.54:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.61: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="#985eb7"
Gradient stop
<stop stop-color="#985eb7"/>
CSS variable + fill
:root { --c: #985eb7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #985eb7; background-color: #985eb7; bg-[#985eb7]