#752cab
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 | #752cab | |
| RGB | rgb(117 44 171) | |
| HSL | hsl(274.49 59.07% 42.16%) | |
| OKLCH | oklch(0.46 0.19 306.39) | |
| CMYK | cmyk(31.58% 74.27% 0% 32.94%) | |
| Android | #ff752cab |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.76:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.70: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="#752cab"
Gradient stop
<stop stop-color="#752cab"/>
CSS variable + fill
:root { --c: #752cab; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #752cab; background-color: #752cab; bg-[#752cab]