#7d4aaa
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 | #7d4aaa | |
| RGB | rgb(125 74 170) | |
| HSL | hsl(271.88 39.34% 47.84%) | |
| OKLCH | oklch(0.51 0.15 306.3) | |
| CMYK | cmyk(26.47% 56.47% 0% 33.33%) | |
| Android | #ff7d4aaa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.11:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.43: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="#7d4aaa"
Gradient stop
<stop stop-color="#7d4aaa"/>
CSS variable + fill
:root { --c: #7d4aaa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7d4aaa; background-color: #7d4aaa; bg-[#7d4aaa]