Skip to content
Vectorlight.net

#786dea

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

HEX
#786dea
RGB
120, 109, 234
HSL
245.28°, 74.85%, 67.25%
OKLCH
0.61 0.18 283.53
Names
—
Lists

Codes

FormatValue
HEX#786dea
RGBrgb(120 109 234)
HSLhsl(245.28 74.85% 67.25%)
OKLCHoklch(0.61 0.18 283.53)
CMYKcmyk(48.72% 53.42% 0% 8.24%)
Android#ff786dea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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