#7e61ea
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 | #7e61ea | |
| RGB | rgb(126 97 234) | |
| HSL | hsl(252.7 76.54% 64.9%) | |
| OKLCH | oklch(0.59 0.2 288.61) | |
| CMYK | cmyk(46.15% 58.55% 0% 8.24%) | |
| Android | #ff7e61ea |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.38:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.78:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#7e61ea"
Gradient stop
<stop stop-color="#7e61ea"/>
CSS variable + fill
:root { --c: #7e61ea; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7e61ea; background-color: #7e61ea; bg-[#7e61ea]