Color #8c5e8b
A muted medium magenta.
Conversions
#8c5e8b
rgb(140, 94, 139)
hsl(301.3, 19.7%, 45.9%)
hsv(301.3, 32.9%, 54.9%)
cmyk(0%, 32.9%, 0.7%, 45.1%)
lab(46.24, 26.51, -17.37)
lch(46.24, 31.69, 326.77)
oklch(54.7%, 0.0873, 327.44)
hwb(301.3, 36.9%, 45.1%)
Harmony colors
Accessibility
White text reads better on this background (5.14:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7b7a82 · ΔE 18.8
Deuteranopia
#7d8080 · ΔE 20.4
Tritanopia
#8a7a78 · ΔE 19.2
Achromatopsia
#6e6e6e · ΔE 21.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8c5e8b;
bg-[#8c5e8b]
Related colors
Frequently asked questions
#8c5e8b (#8c5e8b) is rgb(140, 94, 139) in RGB.
No, #8c5e8b is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #8c5e8b, or check how it holds up for accessibility.