Skip to content
Vectorlight.net

#7152ab

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

HEX
#7152ab
RGB
113, 82, 171
HSL
260.9°, 35.18%, 49.61%
OKLCH
0.51 0.14 297.4
Names
—
Lists

Codes

FormatValue
HEX#7152ab
RGBrgb(113 82 171)
HSLhsl(260.9 35.18% 49.61%)
OKLCHoklch(0.51 0.14 297.4)
CMYKcmyk(33.92% 52.05% 0% 32.94%)
Android#ff7152ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7152ab;
background-color: #7152ab;
bg-[#7152ab]