#752fcb
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 | #752fcb | |
| RGB | rgb(117 47 203) | |
| HSL | hsl(266.92 62.4% 49.02%) | |
| OKLCH | oklch(0.49 0.22 297.97) | |
| CMYK | cmyk(42.36% 76.85% 0% 20.39%) | |
| Android | #ff752fcb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.94:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.02: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="#752fcb"
Gradient stop
<stop stop-color="#752fcb"/>
CSS variable + fill
:root { --c: #752fcb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #752fcb; background-color: #752fcb; bg-[#752fcb]