Color #8b5398
A muted medium purple.
Conversions
#8b5398
rgb(139, 83, 152)
hsl(288.7, 29.4%, 46.1%)
hsv(288.7, 45.4%, 59.6%)
cmyk(8.6%, 45.4%, 0%, 40.4%)
lab(44.15, 35.16, -28.38)
lch(44.15, 45.18, 321.09)
oklch(53.3%, 0.1214, 319.84)
hwb(288.7, 32.5%, 40.4%)
Harmony colors
Accessibility
White text reads better on this background (5.54:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#77768b · ΔE 17.4
Deuteranopia
#7a7d88 · ΔE 21
Tritanopia
#89807d · ΔE 25.7
Achromatopsia
#686868 · ΔE 23.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8b5398;
bg-[#8b5398]
Related colors
Frequently asked questions
#8b5398 (#8b5398) is rgb(139, 83, 152) in RGB.
No, #8b5398 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 #8b5398, or check how it holds up for accessibility.