Skip to content
Vectorlight.net

#7861df

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

HEX
#7861df
RGB
120, 97, 223
HSL
250.95°, 66.32%, 62.75%
OKLCH
0.58 0.18 287.62
Names
—
Lists

Codes

FormatValue
HEX#7861df
RGBrgb(120 97 223)
HSLhsl(250.95 66.32% 62.75%)
OKLCHoklch(0.58 0.18 287.62)
CMYKcmyk(46.19% 56.5% 0% 12.55%)
Android#ff7861df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7861df;
background-color: #7861df;
bg-[#7861df]