Skip to content
Vectorlight.net

#785bed

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

HEX
#785bed
RGB
120, 91, 237
HSL
251.92°, 80.22%, 64.31%
OKLCH
0.58 0.21 287.08
Names
—
Lists

Codes

FormatValue
HEX#785bed
RGBrgb(120 91 237)
HSLhsl(251.92 80.22% 64.31%)
OKLCHoklch(0.58 0.21 287.08)
CMYKcmyk(49.37% 61.6% 0% 7.06%)
Android#ff785bed

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.64:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.51:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#785bed"
Gradient stop
<stop stop-color="#785bed"/>
CSS variable + fill
:root { --c: #785bed; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #785bed;
background-color: #785bed;
bg-[#785bed]