Skip to content
Vectorlight.net

#786dde

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

HEX
#786dde
RGB
120, 109, 222
HSL
245.84°, 63.13%, 64.9%
OKLCH
0.6 0.17 284.62
Names
—
Lists

Codes

FormatValue
HEX#786dde
RGBrgb(120 109 222)
HSLhsl(245.84 63.13% 64.9%)
OKLCHoklch(0.6 0.17 284.62)
CMYKcmyk(45.95% 50.9% 0% 12.94%)
Android#ff786dde

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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