Skip to content
Vectorlight.net

#9b248c

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

HEX
#9b248c
RGB
155, 36, 140
HSL
307.56°, 62.3%, 37.45%
OKLCH
0.49 0.19 333.86
Names
—
Lists

Codes

FormatValue
HEX#9b248c
RGBrgb(155 36 140)
HSLhsl(307.56 62.3% 37.45%)
OKLCHoklch(0.49 0.19 333.86)
CMYKcmyk(0% 76.77% 9.68% 39.22%)
Android#ff9b248c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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