#7e4bc0
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 | #7e4bc0 | |
| RGB | rgb(126 75 192) | |
| HSL | hsl(266.15 48.15% 52.35%) | |
| OKLCH | oklch(0.53 0.18 300.56) | |
| CMYK | cmyk(34.38% 60.94% 0% 24.71%) | |
| Android | #ff7e4bc0 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.74:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.65: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="#7e4bc0"
Gradient stop
<stop stop-color="#7e4bc0"/>
CSS variable + fill
:root { --c: #7e4bc0; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7e4bc0; background-color: #7e4bc0; bg-[#7e4bc0]