Skip to content
Vectorlight.net

#6157ae

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

HEX
#6157ae
RGB
97, 87, 174
HSL
246.9°, 34.94%, 51.18%
OKLCH
0.51 0.13 285.86
Names
—
Lists

Codes

FormatValue
HEX#6157ae
RGBrgb(97 87 174)
HSLhsl(246.9 34.94% 51.18%)
OKLCHoklch(0.51 0.13 285.86)
CMYKcmyk(44.25% 50% 0% 31.76%)
Android#ff6157ae

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #6157ae;
background-color: #6157ae;
bg-[#6157ae]