#783db5
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 | #783db5 | |
| RGB | rgb(120 61 181) | |
| HSL | hsl(269.5 49.59% 47.45%) | |
| OKLCH | oklch(0.5 0.18 302.82) | |
| CMYK | cmyk(33.7% 66.3% 0% 29.02%) | |
| Android | #ff783db5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.70:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.13: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="#783db5"
Gradient stop
<stop stop-color="#783db5"/>
CSS variable + fill
:root { --c: #783db5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #783db5; background-color: #783db5; bg-[#783db5]