Color #8b56b7
A moderately saturated medium purple.
Conversions
#8b56b7
rgb(139, 86, 183)
hsl(272.8, 40.2%, 52.7%)
hsv(272.8, 53%, 71.8%)
cmyk(24%, 53%, 0%, 28.2%)
lab(46.4, 40.45, -43.15)
lch(46.4, 59.14, 313.15)
oklch(55.5%, 0.1524, 307.37)
hwb(272.8, 33.7%, 28.2%)
Harmony colors
Accessibility
White text reads better on this background (5.11:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7877a6 · ΔE 13.6
Deuteranopia
#7a7ea2 · ΔE 16.4
Tritanopia
#899793 · ΔE 29.8
Achromatopsia
#6e6e6e · ΔE 25.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8b56b7;
bg-[#8b56b7]
Related colors
Frequently asked questions
#8b56b7 (#8b56b7) is rgb(139, 86, 183) in RGB.
No, #8b56b7 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 #8b56b7, or check how it holds up for accessibility.