Skip to content
Vectorlight.net

#786fde

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

HEX
#786fde
RGB
120, 111, 222
HSL
244.86°, 62.71%, 65.29%
OKLCH
0.6 0.16 284.03
Names
—
Lists

Codes

FormatValue
HEX#786fde
RGBrgb(120 111 222)
HSLhsl(244.86 62.71% 65.29%)
OKLCHoklch(0.6 0.16 284.03)
CMYKcmyk(45.95% 50% 0% 12.94%)
Android#ff786fde

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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