Skip to content
Vectorlight.net

#786bfd

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

HEX
#786bfd
RGB
120, 107, 253
HSL
245.34°, 97.33%, 70.59%
OKLCH
0.62 0.21 282.38
Names
—
Lists

Codes

FormatValue
HEX#786bfd
RGBrgb(120 107 253)
HSLhsl(245.34 97.33% 70.59%)
OKLCHoklch(0.62 0.21 282.38)
CMYKcmyk(52.57% 57.71% 0% 0.78%)
Android#ff786bfd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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