#877cdc
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 | #877cdc | |
| RGB | rgb(135 124 220) | |
| HSL | hsl(246.88 57.83% 67.45%) | |
| OKLCH | oklch(0.64 0.14 286.95) | |
| CMYK | cmyk(38.64% 43.64% 0% 13.73%) | |
| Android | #ff877cdc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.53:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.94: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="#877cdc"
Gradient stop
<stop stop-color="#877cdc"/>
CSS variable + fill
:root { --c: #877cdc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #877cdc; background-color: #877cdc; bg-[#877cdc]