Skip to content
Vectorlight.net

#786bdc

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

HEX
#786bdc
RGB
120, 107, 220
HSL
246.9°, 61.75%, 64.12%
OKLCH
0.6 0.17 285.4
Names
—
Lists

Codes

FormatValue
HEX#786bdc
RGBrgb(120 107 220)
HSLhsl(246.9 61.75% 64.12%)
OKLCHoklch(0.6 0.17 285.4)
CMYKcmyk(45.45% 51.36% 0% 13.73%)
Android#ff786bdc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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