#7950eb
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 | #7950eb | |
| RGB | rgb(121 80 235) | |
| HSL | hsl(255.87 79.49% 61.76%) | |
| OKLCH | oklch(0.56 0.22 289.54) | |
| CMYK | cmyk(48.51% 65.96% 0% 7.84%) | |
| Android | #ff7950eb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.04:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.16: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="#7950eb"
Gradient stop
<stop stop-color="#7950eb"/>
CSS variable + fill
:root { --c: #7950eb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7950eb; background-color: #7950eb; bg-[#7950eb]