Color #8c7fac
A muted medium blue.
Conversions
#8c7fac
rgb(140, 127, 172)
hsl(257.3, 21.3%, 58.6%)
hsv(257.3, 26.2%, 67.5%)
cmyk(18.6%, 26.2%, 0%, 32.5%)
lab(55.82, 14.38, -22.04)
lch(55.82, 26.32, 303.12)
oklch(62.5%, 0.0682, 297.69)
hwb(257.3, 49.8%, 32.5%)
Harmony colors
Accessibility
Black text reads better on this background (5.75:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8786a3 · ΔE 6.1
Deuteranopia
#8788a0 · ΔE 8.2
Tritanopia
#8b9b99 · ΔE 22.8
Achromatopsia
#868686 · ΔE 18
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8c7fac;
bg-[#8c7fac]
Related colors
Frequently asked questions
#8c7fac (#8c7fac) is rgb(140, 127, 172) in RGB.
No, #8c7fac 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 #8c7fac, or check how it holds up for accessibility.