Skip to content
Vectorlight.net

#7870af

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

HEX
#7870af
RGB
120, 112, 175
HSL
247.62°, 28.25%, 56.27%
OKLCH
0.58 0.1 288.86
Names
—
Lists

Codes

FormatValue
HEX#7870af
RGBrgb(120 112 175)
HSLhsl(247.62 28.25% 56.27%)
OKLCHoklch(0.58 0.1 288.86)
CMYKcmyk(31.43% 36% 0% 31.37%)
Android#ff7870af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7870af;
background-color: #7870af;
bg-[#7870af]