#7342ea
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 | #7342ea | |
| RGB | rgb(115 66 234) | |
| HSL | hsl(257.5 80% 58.82%) | |
| OKLCH | oklch(0.54 0.24 289.37) | |
| CMYK | cmyk(50.85% 71.79% 0% 8.24%) | |
| Android | #ff7342ea |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.68:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.69: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="#7342ea"
Gradient stop
<stop stop-color="#7342ea"/>
CSS variable + fill
:root { --c: #7342ea; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7342ea; background-color: #7342ea; bg-[#7342ea]