#7e56da
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 | #7e56da | |
| RGB | rgb(126 86 218) | |
| HSL | hsl(258.18 64.08% 59.61%) | |
| OKLCH | oklch(0.56 0.19 293.18) | |
| CMYK | cmyk(42.2% 60.55% 0% 14.51%) | |
| Android | #ff7e56da |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.96:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.23: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="#7e56da"
Gradient stop
<stop stop-color="#7e56da"/>
CSS variable + fill
:root { --c: #7e56da; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7e56da; background-color: #7e56da; bg-[#7e56da]