#7f7481
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 | #7f7481 | |
| RGB | rgb(127 116 129) | |
| HSL | hsl(290.77 5.31% 48.04%) | |
| OKLCH | oklch(0.57 0.02 321.03) | |
| CMYK | cmyk(1.55% 10.08% 0% 49.41%) | |
| Android | #ff7f7481 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.45:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.71: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="#7f7481"
Gradient stop
<stop stop-color="#7f7481"/>
CSS variable + fill
:root { --c: #7f7481; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7f7481; background-color: #7f7481; bg-[#7f7481]