Skip to content
Vectorlight.net

#785ff8

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

HEX
#785ff8
RGB
120, 95, 248
HSL
249.8°, 91.62%, 67.25%
OKLCH
0.59 0.22 285.11
Names
—
Lists

Codes

FormatValue
HEX#785ff8
RGBrgb(120 95 248)
HSLhsl(249.8 91.62% 67.25%)
OKLCHoklch(0.59 0.22 285.11)
CMYKcmyk(51.61% 61.69% 0% 2.75%)
Android#ff785ff8

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.38:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.79:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#785ff8"
Gradient stop
<stop stop-color="#785ff8"/>
CSS variable + fill
:root { --c: #785ff8; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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