Skip to content
Vectorlight.net

#7158fd

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

HEX
#7158fd
RGB
113, 88, 253
HSL
249.09°, 97.63%, 66.86%
OKLCH
0.58 0.23 283.34
Names
—
Lists

Codes

FormatValue
HEX#7158fd
RGBrgb(113 88 253)
HSLhsl(249.09 97.63% 66.86%)
OKLCHoklch(0.58 0.23 283.34)
CMYKcmyk(55.34% 65.22% 0% 0.78%)
Android#ff7158fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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