Skip to content
Vectorlight.net

#7158fc

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

HEX
#7158fc
RGB
113, 88, 252
HSL
249.15°, 96.47%, 66.67%
OKLCH
0.58 0.23 283.44
Names
—
Lists

Codes

FormatValue
HEX#7158fc
RGBrgb(113 88 252)
HSLhsl(249.15 96.47% 66.67%)
OKLCHoklch(0.58 0.23 283.44)
CMYKcmyk(55.16% 65.08% 0% 1.18%)
Android#ff7158fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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