#874885
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 | #874885 | |
| RGB | rgb(135 72 133) | |
| HSL | hsl(301.9 30.43% 40.59%) | |
| OKLCH | oklch(0.5 0.12 328.33) | |
| CMYK | cmyk(0% 46.67% 1.48% 47.06%) | |
| Android | #ff874885 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.37:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.29:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#874885"
Gradient stop
<stop stop-color="#874885"/>
CSS variable + fill
:root { --c: #874885; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #874885; background-color: #874885; bg-[#874885]