#796fbf
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 | #796fbf | |
| RGB | rgb(121 111 191) | |
| HSL | hsl(247.5 38.46% 59.22%) | |
| OKLCH | oklch(0.59 0.12 287.82) | |
| CMYK | cmyk(36.65% 41.88% 0% 25.1%) | |
| Android | #ff796fbf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.33:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.83: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="#796fbf"
Gradient stop
<stop stop-color="#796fbf"/>
CSS variable + fill
:root { --c: #796fbf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #796fbf; background-color: #796fbf; bg-[#796fbf]