Skip to content
Vectorlight.net

#9c548f

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

HEX
#9c548f
RGB
156, 84, 143
HSL
310.83°, 30%, 47.06%
OKLCH
0.55 0.12 334.18
Names
—
Lists

Codes

FormatValue
HEX#9c548f
RGBrgb(156 84 143)
HSLhsl(310.83 30% 47.06%)
OKLCHoklch(0.55 0.12 334.18)
CMYKcmyk(0% 46.15% 8.33% 38.82%)
Android#ff9c548f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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