Color #8c7ab7
A muted medium blue.
Conversions
#8c7ab7
rgb(140, 122, 183)
hsl(257.7, 29.8%, 59.8%)
hsv(257.7, 33.3%, 71.8%)
cmyk(23.5%, 33.3%, 0%, 28.2%)
lab(54.98, 19.94, -29.65)
lch(54.98, 35.73, 303.92)
oklch(62%, 0.0923, 297.2)
hwb(257.7, 47.8%, 28.2%)
Harmony colors
Accessibility
Black text reads better on this background (5.58:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8584ab · ΔE 6.4
Deuteranopia
#8687a8 · ΔE 8.2
Tritanopia
#8ba09e · ΔE 24.8
Achromatopsia
#848484 · ΔE 21.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8c7ab7;
bg-[#8c7ab7]
Related colors
Frequently asked questions
#8c7ab7 (#8c7ab7) is rgb(140, 122, 183) in RGB.
No, #8c7ab7 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 #8c7ab7, or check how it holds up for accessibility.