#877d9f
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 | #877d9f | |
| RGB | rgb(135 125 159) | |
| HSL | hsl(257.65 15.04% 55.69%) | |
| OKLCH | oklch(0.61 0.05 298.32) | |
| CMYK | cmyk(15.09% 21.38% 0% 37.65%) | |
| Android | #ff877d9f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.84:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.46: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="#877d9f"
Gradient stop
<stop stop-color="#877d9f"/>
CSS variable + fill
:root { --c: #877d9f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #877d9f; background-color: #877d9f; bg-[#877d9f]