Skip to content
Vectorlight.net

#786ada

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

HEX
#786ada
RGB
120, 106, 218
HSL
247.5°, 60.22%, 63.53%
OKLCH
0.59 0.17 285.9
Names
—
Lists

Codes

FormatValue
HEX#786ada
RGBrgb(120 106 218)
HSLhsl(247.5 60.22% 63.53%)
OKLCHoklch(0.59 0.17 285.9)
CMYKcmyk(44.95% 51.38% 0% 14.51%)
Android#ff786ada

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.30:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.87:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#786ada"
Gradient stop
<stop stop-color="#786ada"/>
CSS variable + fill
:root { --c: #786ada; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #786ada;
background-color: #786ada;
bg-[#786ada]