#876bbc
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 | #876bbc | |
| RGB | rgb(135 107 188) | |
| HSL | hsl(260.74 37.67% 57.84%) | |
| OKLCH | oklch(0.59 0.12 298.48) | |
| CMYK | cmyk(28.19% 43.09% 0% 26.27%) | |
| Android | #ff876bbc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.32:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.85: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="#876bbc"
Gradient stop
<stop stop-color="#876bbc"/>
CSS variable + fill
:root { --c: #876bbc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #876bbc; background-color: #876bbc; bg-[#876bbc]