Skip to content
Vectorlight.net

#787fdf

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

HEX
#787fdf
RGB
120, 127, 223
HSL
235.92°, 61.68%, 67.25%
OKLCH
0.63 0.14 278.34
Names
—
Lists

Codes

FormatValue
HEX#787fdf
RGBrgb(120 127 223)
HSLhsl(235.92 61.68% 67.25%)
OKLCHoklch(0.63 0.14 278.34)
CMYKcmyk(46.19% 43.05% 0% 12.55%)
Android#ff787fdf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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