#896f9d
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 | #896f9d | |
| RGB | rgb(137 111 157) | |
| HSL | hsl(273.91 19.01% 52.55%) | |
| OKLCH | oklch(0.58 0.07 309.9) | |
| CMYK | cmyk(12.74% 29.3% 0% 38.43%) | |
| Android | #ff896f9d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.35:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.82: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="#896f9d"
Gradient stop
<stop stop-color="#896f9d"/>
CSS variable + fill
:root { --c: #896f9d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #896f9d; background-color: #896f9d; bg-[#896f9d]