#751d8f
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 | #751d8f | |
| RGB | rgb(117 29 143) | |
| HSL | hsl(286.32 66.28% 33.73%) | |
| OKLCH | oklch(0.43 0.18 316.98) | |
| CMYK | cmyk(18.18% 79.72% 0% 43.92%) | |
| Android | #ff751d8f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.01:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.32:1
Fail AA normal text
Fail 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="#751d8f"
Gradient stop
<stop stop-color="#751d8f"/>
CSS variable + fill
:root { --c: #751d8f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #751d8f; background-color: #751d8f; bg-[#751d8f]