Color #8c7fa3
A muted medium purple.
Conversions
#8c7fa3
rgb(140, 127, 163)
hsl(261.7, 16.4%, 56.9%)
hsv(261.7, 22.1%, 63.9%)
cmyk(14.1%, 22.1%, 0%, 36.1%)
lab(55.48, 12.31, -17.37)
lch(55.48, 21.29, 305.32)
oklch(62.1%, 0.0554, 301.34)
hwb(261.7, 49.8%, 36.1%)
Harmony colors
Accessibility
Black text reads better on this background (5.68:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#87869b · ΔE 7.1
Deuteranopia
#878899 · ΔE 9.1
Tritanopia
#8b9593 · ΔE 20.2
Achromatopsia
#858585 · ΔE 16.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8c7fa3;
bg-[#8c7fa3]
Related colors
Frequently asked questions
#8c7fa3 (#8c7fa3) is rgb(140, 127, 163) in RGB.
No, #8c7fa3 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 #8c7fa3, or check how it holds up for accessibility.