Skip to content
Vectorlight.net

#785ced

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

HEX
#785ced
RGB
120, 92, 237
HSL
251.59°, 80.11%, 64.51%
OKLCH
0.58 0.21 286.9
Names
—
Lists

Codes

FormatValue
HEX#785ced
RGBrgb(120 92 237)
HSLhsl(251.59 80.11% 64.51%)
OKLCHoklch(0.58 0.21 286.9)
CMYKcmyk(49.37% 61.18% 0% 7.06%)
Android#ff785ced

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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