Skip to content
Kolorvia
#9f5a8c

Color #9f5a8c

A muted medium magenta.

Conversions

HEX
#9f5a8c
RGB
rgb(159, 90, 140)
HSL
hsl(316.5, 27.7%, 48.8%)
HSV / HSB
hsv(316.5, 43.4%, 62.4%)
CMYK
cmyk(0%, 43.4%, 11.9%, 37.6%)
LAB
lab(47.72, 35.49, -15.49)
LCH
lch(47.72, 38.72, 336.42)
OKLCH
oklch(56.4%, 0.1113, 338.11)
HWB
hwb(316.5, 35.3%, 37.6%)

Harmony colors

Complementary

#5a9f6d

Analogous

#8f5a9f
#9f5a8c
#9f5a69

Triadic

#9f5a8c
#8c9f5a
#5a8c9f

Split-complementary

#9f5a8c
#699f5a
#5a9f8f

Tetradic

#9f5a8c
#9f6d5a
#5a9f6d
#5a8c9f

Square

#9f5a8c
#9f8f5a
#5a9f6d
#5a699f

Shades

Color #9f5a8c mixed toward black.

#844b75
#6a3c5d
#4f2d46
#351e2f
#1a0f17

Tints

Color #9f5a8c mixed toward white.

#b074a0
#c090b3
#d0acc6
#e0c7d9
#efe3ec

Tones

Color #9f5a8c mixed toward gray.

#996089
#936587
#8e6b84
#887182
#82777f

Accessibility

Aa White text on this color
4.87:1
Aa Black text on this color
4.32:1

White text reads better on this background (4.87:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#878682 · ΔE 27.1

Deuteranopia

#8a8f80 · ΔE 36.4

Tritanopia

#9c7a78 · ΔE 18.3

Achromatopsia

#717171 · ΔE 23.3

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #9f5a8c;
Tailwind (arbitrary value)
bg-[#9f5a8c]

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Hot Pink #ff69b4
Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff

Frequently asked questions

#9f5a8c (#9f5a8c) is rgb(159, 90, 140) in RGB.

No, #9f5a8c is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #9f5a8c, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.