Skip to content
Vectorlight.net

#785dca

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

HEX
#785dca
RGB
120, 93, 202
HSL
254.86°, 50.7%, 57.84%
OKLCH
0.56 0.16 291.68
Names
—
Lists

Codes

FormatValue
HEX#785dca
RGBrgb(120 93 202)
HSLhsl(254.86 50.7% 57.84%)
OKLCHoklch(0.56 0.16 291.68)
CMYKcmyk(40.59% 53.96% 0% 20.78%)
Android#ff785dca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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