#877ecf
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 | #877ecf | |
| RGB | rgb(135 126 207) | |
| HSL | hsl(246.67 45.76% 65.29%) | |
| OKLCH | oklch(0.64 0.12 287.57) | |
| CMYK | cmyk(34.78% 39.13% 0% 18.82%) | |
| Android | #ff877ecf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.54:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.91: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="#877ecf"
Gradient stop
<stop stop-color="#877ecf"/>
CSS variable + fill
:root { --c: #877ecf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #877ecf; background-color: #877ecf; bg-[#877ecf]