Skip to content
Vectorlight.net

#786baf

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

HEX
#786baf
RGB
120, 107, 175
HSL
251.47°, 29.82%, 55.29%
OKLCH
0.57 0.1 291.53
Names
—
Lists

Codes

FormatValue
HEX#786baf
RGBrgb(120 107 175)
HSLhsl(251.47 29.82% 55.29%)
OKLCHoklch(0.57 0.1 291.53)
CMYKcmyk(31.43% 38.86% 0% 31.37%)
Android#ff786baf

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.64:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.52:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#786baf"
Gradient stop
<stop stop-color="#786baf"/>
CSS variable + fill
:root { --c: #786baf; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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