#9e4792
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 | #9e4792 | |
| RGB | rgb(158 71 146) | |
| HSL | hsl(308.28 37.99% 44.9%) | |
| OKLCH | oklch(0.54 0.15 332.99) | |
| CMYK | cmyk(0% 55.06% 7.59% 38.04%) | |
| Android | #ff9e4792 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.57:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.77: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="#9e4792"
Gradient stop
<stop stop-color="#9e4792"/>
CSS variable + fill
:root { --c: #9e4792; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #9e4792; background-color: #9e4792; bg-[#9e4792]