Color #9e50a6
A muted medium magenta.
Conversions
#9e50a6
rgb(158, 80, 166)
hsl(294.4, 35%, 48.2%)
hsv(294.4, 51.8%, 65.1%)
cmyk(4.8%, 51.8%, 0%, 34.9%)
lab(46.66, 45.29, -32.6)
lch(46.66, 55.8, 324.25)
oklch(55.9%, 0.1522, 323.76)
hwb(294.4, 31.4%, 34.9%)
Harmony colors
Accessibility
White text reads better on this background (5.06:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#838397 · ΔE 21.2
Deuteranopia
#878c93 · ΔE 22.9
Tritanopia
#9b8986 · ΔE 27.2
Achromatopsia
#6f6f6f · ΔE 25.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9e50a6;
bg-[#9e50a6]
Related colors
Frequently asked questions
#9e50a6 (#9e50a6) is rgb(158, 80, 166) in RGB.
No, #9e50a6 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 #9e50a6, or check how it holds up for accessibility.