Skip to content
Kolorvia
#8a5271

Color #8a5271

A muted medium magenta.

Conversions

HEX
#8a5271
RGB
rgb(138, 82, 113)
HSL
hsl(326.8, 25.5%, 43.1%)
HSV / HSB
hsv(326.8, 40.6%, 54.1%)
CMYK
cmyk(0%, 40.6%, 18.1%, 45.9%)
LAB
lab(42.2, 27.94, -7.74)
LCH
lch(42.2, 28.99, 344.52)
OKLCH
oklch(51.3%, 0.0853, 346.22)
HWB
hwb(326.8, 32.2%, 45.9%)

Harmony colors

Complementary

#528a6b

Analogous

#87528a
#8a5271
#8a5255

Triadic

#8a5271
#718a52
#52718a

Split-complementary

#8a5271
#558a52
#528a87

Tetradic

#8a5271
#8a6b52
#528a6b
#52718a

Square

#8a5271
#8a8752
#528a6b
#52558a

Shades

Color #8a5271 mixed toward black.

#73445e
#5c374b
#452938
#2e1b26
#170e13

Tints

Color #8a5271 mixed toward white.

#a56789
#b786a1
#c9a4b8
#dbc2d0
#ede1e7

Tones

Color #8a5271 mixed toward gray.

#855770
#815b70
#7c606f
#77656f
#73696e

Accessibility

Aa White text on this color
5.96:1
Aa Black text on this color
3.53:1

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

Under color vision deficiencies

Protanopia

#76756b · ΔE 28.1

Deuteranopia

#797c69 · ΔE 34.4

Tritanopia

#886564 · ΔE 12.7

Achromatopsia

#646464 · ΔE 21.2

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

Code

CSS
background-color: #8a5271;
Tailwind (arbitrary value)
bg-[#8a5271]

Related colors

Deep Pink #ff1493
Hot Pink #ff69b4
Medium Violet Red #c71585
Lavender Blush #fff0f5
Pale Violet Red #db7093
Crimson #dc143c

Frequently asked questions

#8a5271 (#8a5271) is rgb(138, 82, 113) in RGB.

No, #8a5271 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #8a5271, 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.