#784acd
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 | #784acd | |
| RGB | rgb(120 74 205) | |
| HSL | hsl(261.07 56.71% 54.71%) | |
| OKLCH | oklch(0.53 0.19 295.18) | |
| CMYK | cmyk(41.46% 63.9% 0% 19.61%) | |
| Android | #ff784acd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.73:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.65: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="#784acd"
Gradient stop
<stop stop-color="#784acd"/>
CSS variable + fill
:root { --c: #784acd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #784acd; background-color: #784acd; bg-[#784acd]