#7961ea
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 | #7961ea | |
| RGB | rgb(121 97 234) | |
| HSL | hsl(250.51 76.54% 64.9%) | |
| OKLCH | oklch(0.59 0.2 286.67) | |
| CMYK | cmyk(48.29% 58.55% 0% 8.24%) | |
| Android | #ff7961ea |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.45:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.71: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="#7961ea"
Gradient stop
<stop stop-color="#7961ea"/>
CSS variable + fill
:root { --c: #7961ea; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7961ea; background-color: #7961ea; bg-[#7961ea]