#754cea
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 | #754cea | |
| RGB | rgb(117 76 234) | |
| HSL | hsl(255.57 79% 60.78%) | |
| OKLCH | oklch(0.55 0.22 288.79) | |
| CMYK | cmyk(50% 67.52% 0% 8.24%) | |
| Android | #ff754cea |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.27:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.97: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="#754cea"
Gradient stop
<stop stop-color="#754cea"/>
CSS variable + fill
:root { --c: #754cea; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #754cea; background-color: #754cea; bg-[#754cea]