Skip to content
Vectorlight.net

#7151ba

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

HEX
#7151ba
RGB
113, 81, 186
HSL
258.29°, 43.21%, 52.35%
OKLCH
0.52 0.16 294.27
Names
—
Lists

Codes

FormatValue
HEX#7151ba
RGBrgb(113 81 186)
HSLhsl(258.29 43.21% 52.35%)
OKLCHoklch(0.52 0.16 294.27)
CMYKcmyk(39.25% 56.45% 0% 27.06%)
Android#ff7151ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7151ba;
background-color: #7151ba;
bg-[#7151ba]