#78339f
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 | #78339f | |
| RGB | rgb(120 51 159) | |
| HSL | hsl(278.33 51.43% 41.18%) | |
| OKLCH | oklch(0.47 0.17 310.8) | |
| CMYK | cmyk(24.53% 67.92% 0% 37.65%) | |
| Android | #ff78339f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.57:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.77: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="#78339f"
Gradient stop
<stop stop-color="#78339f"/>
CSS variable + fill
:root { --c: #78339f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #78339f; background-color: #78339f; bg-[#78339f]