#784f7e
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 | #784f7e | |
| RGB | rgb(120 79 126) | |
| HSL | hsl(292.34 22.93% 40.2%) | |
| OKLCH | oklch(0.49 0.09 322.24) | |
| CMYK | cmyk(4.76% 37.3% 0% 50.59%) | |
| Android | #ff784f7e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.52:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.21: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="#784f7e"
Gradient stop
<stop stop-color="#784f7e"/>
CSS variable + fill
:root { --c: #784f7e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #784f7e; background-color: #784f7e; bg-[#784f7e]