Skip to content
Vectorlight.net

#785bee

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

HEX
#785bee
RGB
120, 91, 238
HSL
251.84°, 81.22%, 64.51%
OKLCH
0.58 0.21 286.96
Names
—
Lists

Codes

FormatValue
HEX#785bee
RGBrgb(120 91 238)
HSLhsl(251.84 81.22% 64.51%)
OKLCHoklch(0.58 0.21 286.96)
CMYKcmyk(49.58% 61.76% 0% 6.67%)
Android#ff785bee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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