#754cbd
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 | #754cbd | |
| RGB | rgb(117 76 189) | |
| HSL | hsl(261.77 46.12% 51.96%) | |
| OKLCH | oklch(0.52 0.17 296.76) | |
| CMYK | cmyk(38.1% 59.79% 0% 25.88%) | |
| Android | #ff754cbd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.95:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.52: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="#754cbd"
Gradient stop
<stop stop-color="#754cbd"/>
CSS variable + fill
:root { --c: #754cbd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #754cbd; background-color: #754cbd; bg-[#754cbd]