Skip to content
Vectorlight.net

#786cde

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

HEX
#786cde
RGB
120, 108, 222
HSL
246.32°, 63.33%, 64.71%
OKLCH
0.6 0.17 284.91
Names
—
Lists

Codes

FormatValue
HEX#786cde
RGBrgb(120 108 222)
HSLhsl(246.32 63.33% 64.71%)
OKLCHoklch(0.6 0.17 284.91)
CMYKcmyk(45.95% 51.35% 0% 12.94%)
Android#ff786cde

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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