Color #8a5f99
A muted medium purple.
Conversions
#8a5f99
rgb(138, 95, 153)
hsl(284.5, 23.4%, 48.6%)
hsv(284.5, 37.9%, 60%)
cmyk(9.8%, 37.9%, 0%, 40%)
lab(46.83, 28.18, -24.82)
lch(46.83, 37.55, 318.63)
oklch(55.3%, 0.1001, 317.06)
hwb(284.5, 37.3%, 40%)
Harmony colors
Accessibility
White text reads better on this background (5.03:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7a798e · ΔE 15
Deuteranopia
#7c7f8b · ΔE 18.9
Tritanopia
#888482 · ΔE 24.1
Achromatopsia
#6f6f6f · ΔE 22.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a5f99;
bg-[#8a5f99]
Related colors
Frequently asked questions
#8a5f99 (#8a5f99) is rgb(138, 95, 153) in RGB.
No, #8a5f99 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 #8a5f99, or check how it holds up for accessibility.