#783eac
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 | #783eac | |
| RGB | rgb(120 62 172) | |
| HSL | hsl(271.64 47.01% 45.88%) | |
| OKLCH | oklch(0.49 0.17 305.18) | |
| CMYK | cmyk(30.23% 63.95% 0% 32.55%) | |
| Android | #ff783eac |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.81:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.08: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="#783eac"
Gradient stop
<stop stop-color="#783eac"/>
CSS variable + fill
:root { --c: #783eac; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #783eac; background-color: #783eac; bg-[#783eac]