Skip to content
Vectorlight.net

#6157ff

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

HEX
#6157ff
RGB
97, 87, 255
HSL
243.57°, 100%, 67.06%
OKLCH
0.57 0.24 278.28
Names
—
Lists

Codes

FormatValue
HEX#6157ff
RGBrgb(97 87 255)
HSLhsl(243.57 100% 67.06%)
OKLCHoklch(0.57 0.24 278.28)
CMYKcmyk(61.96% 65.88% 0% 0%)
Android#ff6157ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.86: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="#6157ff"
Gradient stop
<stop stop-color="#6157ff"/>
CSS variable + fill
:root { --c: #6157ff; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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