#796795
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 | #796795 | |
| RGB | rgb(121 103 149) | |
| HSL | hsl(263.48 18.25% 49.41%) | |
| OKLCH | oklch(0.55 0.07 302) | |
| CMYK | cmyk(18.79% 30.87% 0% 41.57%) | |
| Android | #ff796795 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.01:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.18: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="#796795"
Gradient stop
<stop stop-color="#796795"/>
CSS variable + fill
:root { --c: #796795; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #796795; background-color: #796795; bg-[#796795]