Skip to content
Vectorlight.net

#786ddd

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

HEX
#786ddd
RGB
120, 109, 221
HSL
245.89°, 62.22%, 64.71%
OKLCH
0.6 0.16 284.72
Names
—
Lists

Codes

FormatValue
HEX#786ddd
RGBrgb(120 109 221)
HSLhsl(245.89 62.22% 64.71%)
OKLCHoklch(0.6 0.16 284.72)
CMYKcmyk(45.7% 50.68% 0% 13.33%)
Android#ff786ddd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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