#794bbd
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 | #794bbd | |
| RGB | rgb(121 75 189) | |
| HSL | hsl(264.21 46.34% 51.76%) | |
| OKLCH | oklch(0.52 0.17 298.89) | |
| CMYK | cmyk(35.98% 60.32% 0% 25.88%) | |
| Android | #ff794bbd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.90:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.55: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="#794bbd"
Gradient stop
<stop stop-color="#794bbd"/>
CSS variable + fill
:root { --c: #794bbd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #794bbd; background-color: #794bbd; bg-[#794bbd]