Skip to content
Vectorlight.net

#7162cb

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

HEX
#7162cb
RGB
113, 98, 203
HSL
248.57°, 50.24%, 59.02%
OKLCH
0.56 0.16 286.77
Names
—
Lists

Codes

FormatValue
HEX#7162cb
RGBrgb(113 98 203)
HSLhsl(248.57 50.24% 59.02%)
OKLCHoklch(0.56 0.16 286.77)
CMYKcmyk(44.33% 51.72% 0% 20.39%)
Android#ff7162cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7162cb;
background-color: #7162cb;
bg-[#7162cb]