Color #8a5497
A muted medium purple.
Conversions
#8a5497
rgb(138, 84, 151)
hsl(288.4, 28.5%, 46.1%)
hsv(288.4, 44.4%, 59.2%)
cmyk(8.6%, 44.4%, 0%, 40.8%)
lab(44.2, 34.07, -27.71)
lch(44.2, 43.92, 320.88)
oklch(53.3%, 0.118, 319.64)
hwb(288.4, 32.9%, 40.8%)
Harmony colors
Accessibility
White text reads better on this background (5.53:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#76768a · ΔE 17.4
Deuteranopia
#797d87 · ΔE 20.9
Tritanopia
#887f7d · ΔE 24.8
Achromatopsia
#686868 · ΔE 23.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a5497;
bg-[#8a5497]
Related colors
Frequently asked questions
#8a5497 (#8a5497) is rgb(138, 84, 151) in RGB.
No, #8a5497 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 #8a5497, or check how it holds up for accessibility.