Skip to content
Vectorlight.net

#787cbe

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

HEX
#787cbe
RGB
120, 124, 190
HSL
236.57°, 35%, 60.78%
OKLCH
0.61 0.1 280.35
Names
—
Lists

Codes

FormatValue
HEX#787cbe
RGBrgb(120 124 190)
HSLhsl(236.57 35% 60.78%)
OKLCHoklch(0.61 0.1 280.35)
CMYKcmyk(36.84% 34.74% 0% 25.49%)
Android#ff787cbe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #787cbe;
background-color: #787cbe;
bg-[#787cbe]