#876fbc
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 | #876fbc | |
| RGB | rgb(135 111 188) | |
| HSL | hsl(258.7 36.49% 58.63%) | |
| OKLCH | oklch(0.6 0.12 297.08) | |
| CMYK | cmyk(28.19% 40.96% 0% 26.27%) | |
| Android | #ff876fbc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.17:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.03: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="#876fbc"
Gradient stop
<stop stop-color="#876fbc"/>
CSS variable + fill
:root { --c: #876fbc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #876fbc; background-color: #876fbc; bg-[#876fbc]