Skip to content
Vectorlight.net

#784fba

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

HEX
#784fba
RGB
120, 79, 186
HSL
262.99°, 43.67%, 51.96%
OKLCH
0.53 0.16 298.29
Names
—
Lists

Codes

FormatValue
HEX#784fba
RGBrgb(120 79 186)
HSLhsl(262.99 43.67% 51.96%)
OKLCHoklch(0.53 0.16 298.29)
CMYKcmyk(35.48% 57.53% 0% 27.06%)
Android#ff784fba

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.79:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.62: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="#784fba"
Gradient stop
<stop stop-color="#784fba"/>
CSS variable + fill
:root { --c: #784fba; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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