Skip to content
Vectorlight.net

#785dcb

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

HEX
#785dcb
RGB
120, 93, 203
HSL
254.73°, 51.4%, 58.04%
OKLCH
0.56 0.16 291.52
Names
—
Lists

Codes

FormatValue
HEX#785dcb
RGBrgb(120 93 203)
HSLhsl(254.73 51.4% 58.04%)
OKLCHoklch(0.56 0.16 291.52)
CMYKcmyk(40.89% 54.19% 0% 20.39%)
Android#ff785dcb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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