#985aaf
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 | #985aaf | |
| RGB | rgb(152 90 175) | |
| HSL | hsl(283.76 34.69% 51.96%) | |
| OKLCH | oklch(0.57 0.14 316.3) | |
| CMYK | cmyk(13.14% 48.57% 0% 31.37%) | |
| Android | #ff985aaf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.75:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.41: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="#985aaf"
Gradient stop
<stop stop-color="#985aaf"/>
CSS variable + fill
:root { --c: #985aaf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #985aaf; background-color: #985aaf; bg-[#985aaf]