#791ca0
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 | #791ca0 | |
| RGB | rgb(121 28 160) | |
| HSL | hsl(282.27 70.21% 36.86%) | |
| OKLCH | oklch(0.45 0.2 312.91) | |
| CMYK | cmyk(24.38% 82.5% 0% 37.25%) | |
| Android | #ff791ca0 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
8.44:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.48:1
Fail AA normal text
Fail 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="#791ca0"
Gradient stop
<stop stop-color="#791ca0"/>
CSS variable + fill
:root { --c: #791ca0; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #791ca0; background-color: #791ca0; bg-[#791ca0]