Skip to content
Vectorlight.net

#7151ff

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

HEX
#7151ff
RGB
113, 81, 255
HSL
251.03°, 100%, 65.88%
OKLCH
0.57 0.24 284.1
Names
—
Lists

Codes

FormatValue
HEX#7151ff
RGBrgb(113 81 255)
HSLhsl(251.03 100% 65.88%)
OKLCHoklch(0.57 0.24 284.1)
CMYKcmyk(55.69% 68.24% 0% 0%)
Android#ff7151ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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