#7e4bf9
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 | #7e4bf9 | |
| RGB | rgb(126 75 249) | |
| HSL | hsl(257.59 93.55% 63.53%) | |
| OKLCH | oklch(0.57 0.24 289.99) | |
| CMYK | cmyk(49.4% 69.88% 0% 2.35%) | |
| Android | #ff7e4bf9 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.92:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.26: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="#7e4bf9"
Gradient stop
<stop stop-color="#7e4bf9"/>
CSS variable + fill
:root { --c: #7e4bf9; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7e4bf9; background-color: #7e4bf9; bg-[#7e4bf9]