#7972dd
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 | #7972dd | |
| RGB | rgb(121 114 221) | |
| HSL | hsl(243.93 61.14% 65.69%) | |
| OKLCH | oklch(0.61 0.16 283.62) | |
| CMYK | cmyk(45.25% 48.42% 0% 13.33%) | |
| Android | #ff7972dd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.98:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.26: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="#7972dd"
Gradient stop
<stop stop-color="#7972dd"/>
CSS variable + fill
:root { --c: #7972dd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7972dd; background-color: #7972dd; bg-[#7972dd]