Skip to content
Vectorlight.net

#7172fc

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

HEX
#7172fc
RGB
113, 114, 252
HSL
239.57°, 95.86%, 71.57%
OKLCH
0.62 0.2 278.55
Names
—
Lists

Codes

FormatValue
HEX#7172fc
RGBrgb(113 114 252)
HSLhsl(239.57 95.86% 71.57%)
OKLCHoklch(0.62 0.2 278.55)
CMYKcmyk(55.16% 54.76% 0% 1.18%)
Android#ff7172fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7172fc;
background-color: #7172fc;
bg-[#7172fc]