Skip to content
Vectorlight.net

#9d5cbb

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

HEX
#9d5cbb
RGB
157, 92, 187
HSL
281.05°, 41.13%, 54.71%
OKLCH
0.59 0.15 314.16
Names
—
Lists

Codes

FormatValue
HEX#9d5cbb
RGBrgb(157 92 187)
HSLhsl(281.05 41.13% 54.71%)
OKLCHoklch(0.59 0.15 314.16)
CMYKcmyk(16.04% 50.8% 0% 26.67%)
Android#ff9d5cbb

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.48:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.68:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

color / background
color: #9d5cbb;
background-color: #9d5cbb;
bg-[#9d5cbb]