Color #8b5ea6
A muted medium purple.
Conversions
#8b5ea6
rgb(139, 94, 166)
hsl(277.5, 28.8%, 51%)
hsv(277.5, 43.4%, 65.1%)
cmyk(16.3%, 43.4%, 0%, 34.9%)
lab(47.3, 31.97, -31.76)
lch(47.3, 45.06, 315.19)
oklch(55.9%, 0.1182, 311.81)
hwb(277.5, 36.9%, 34.9%)
Harmony colors
Accessibility
White text reads better on this background (4.94:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7a7a98 · ΔE 14
Deuteranopia
#7d8095 · ΔE 16.9
Tritanopia
#898d8a · ΔE 26.9
Achromatopsia
#707070 · ΔE 23.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8b5ea6;
bg-[#8b5ea6]
Related colors
Frequently asked questions
#8b5ea6 (#8b5ea6) is rgb(139, 94, 166) in RGB.
No, #8b5ea6 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 #8b5ea6, or check how it holds up for accessibility.