Skip to content
Vectorlight.net

#786de0

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

HEX
#786de0
RGB
120, 109, 224
HSL
245.74°, 64.97%, 65.29%
OKLCH
0.6 0.17 284.43
Names
—
Lists

Codes

FormatValue
HEX#786de0
RGBrgb(120 109 224)
HSLhsl(245.74 64.97% 65.29%)
OKLCHoklch(0.6 0.17 284.43)
CMYKcmyk(46.43% 51.34% 0% 12.16%)
Android#ff786de0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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