Skip to content
Vectorlight.net

#784acd

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#784acd
RGB
120, 74, 205
HSL
261.07°, 56.71%, 54.71%
OKLCH
0.53 0.19 295.18
Names
—
Lists

Codes

FormatValue
HEX#784acd
RGBrgb(120 74 205)
HSLhsl(261.07 56.71% 54.71%)
OKLCHoklch(0.53 0.19 295.18)
CMYKcmyk(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

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#784acd"
Gradient stop
<stop stop-color="#784acd"/>
CSS variable + fill
:root { --c: #784acd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #784acd;
background-color: #784acd;
bg-[#784acd]