Skip to content
Vectorlight.net

#7170ec

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

HEX
#7170ec
RGB
113, 112, 236
HSL
240.48°, 76.54%, 68.24%
OKLCH
0.61 0.18 279.89
Names
—
Lists

Codes

FormatValue
HEX#7170ec
RGBrgb(113 112 236)
HSLhsl(240.48 76.54% 68.24%)
OKLCHoklch(0.61 0.18 279.89)
CMYKcmyk(52.12% 52.54% 0% 7.45%)
Android#ff7170ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7170ec;
background-color: #7170ec;
bg-[#7170ec]