Skip to content
Vectorlight.net

#9157be

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

HEX
#9157be
RGB
145, 87, 190
HSL
273.79°, 44.21%, 54.31%
OKLCH
0.57 0.16 308.09
Names
—
Lists

Codes

FormatValue
HEX#9157be
RGBrgb(145 87 190)
HSLhsl(273.79 44.21% 54.31%)
OKLCHoklch(0.57 0.16 308.09)
CMYKcmyk(23.68% 54.21% 0% 25.49%)
Android#ff9157be

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9157be;
background-color: #9157be;
bg-[#9157be]