Skip to content
Vectorlight.net

#787fdc

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

HEX
#787fdc
RGB
120, 127, 220
HSL
235.8°, 58.82%, 66.67%
OKLCH
0.63 0.14 278.39
Names
—
Lists

Codes

FormatValue
HEX#787fdc
RGBrgb(120 127 220)
HSLhsl(235.8 58.82% 66.67%)
OKLCHoklch(0.63 0.14 278.39)
CMYKcmyk(45.45% 42.27% 0% 13.73%)
Android#ff787fdc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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