Skip to content
Vectorlight.net

#9f237f

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

HEX
#9f237f
RGB
159, 35, 127
HSL
315.48°, 63.92%, 38.04%
OKLCH
0.49 0.18 340.79
Names
—
Lists

Codes

FormatValue
HEX#9f237f
RGBrgb(159 35 127)
HSLhsl(315.48 63.92% 38.04%)
OKLCHoklch(0.49 0.18 340.79)
CMYKcmyk(0% 77.99% 20.13% 37.65%)
Android#ff9f237f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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