#782abb
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 | #782abb | |
| RGB | rgb(120 42 187) | |
| HSL | hsl(272.28 63.32% 44.9%) | |
| OKLCH | oklch(0.48 0.21 303.52) | |
| CMYK | cmyk(35.83% 77.54% 0% 26.67%) | |
| Android | #ff782abb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.37:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.84: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="#782abb"
Gradient stop
<stop stop-color="#782abb"/>
CSS variable + fill
:root { --c: #782abb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #782abb; background-color: #782abb; bg-[#782abb]