#9792cc
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 | #9792cc | |
| RGB | rgb(151 146 204) | |
| HSL | hsl(245.17 36.25% 68.63%) | |
| OKLCH | oklch(0.69 0.08 287.89) | |
| CMYK | cmyk(25.98% 28.43% 0% 20%) | |
| Android | #ff9792cc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.87:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.29: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="#9792cc"
Gradient stop
<stop stop-color="#9792cc"/>
CSS variable + fill
:root { --c: #9792cc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #9792cc; background-color: #9792cc; bg-[#9792cc]