#7d59ec
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 | #7d59ec | |
| RGB | rgb(125 89 236) | |
| HSL | hsl(254.69 79.46% 63.73%) | |
| OKLCH | oklch(0.58 0.21 289.45) | |
| CMYK | cmyk(47.03% 62.29% 0% 7.45%) | |
| Android | #ff7d59ec |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.65:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.51:1
Pass 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="#7d59ec"
Gradient stop
<stop stop-color="#7d59ec"/>
CSS variable + fill
:root { --c: #7d59ec; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7d59ec; background-color: #7d59ec; bg-[#7d59ec]