Skip to content
Vectorlight.net

#785fe6

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

HEX
#785fe6
RGB
120, 95, 230
HSL
251.11°, 72.97%, 63.73%
OKLCH
0.58 0.2 287.18
Names
—
Lists

Codes

FormatValue
HEX#785fe6
RGBrgb(120 95 230)
HSLhsl(251.11 72.97% 63.73%)
OKLCHoklch(0.58 0.2 287.18)
CMYKcmyk(47.83% 58.7% 0% 9.8%)
Android#ff785fe6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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