Color #9e4fa5
A muted medium magenta.
Conversions
#9e4fa5
rgb(158, 79, 165)
hsl(295.1, 35.2%, 47.8%)
hsv(295.1, 52.1%, 64.7%)
cmyk(4.2%, 52.1%, 0%, 35.3%)
lab(46.42, 45.61, -32.39)
lch(46.42, 55.94, 324.62)
oklch(55.7%, 0.1529, 324.26)
hwb(295.1, 31%, 35.3%)
Harmony colors
Accessibility
White text reads better on this background (5.1:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#838396 · ΔE 21.5
Deuteranopia
#878c92 · ΔE 22.6
Tritanopia
#9b8885 · ΔE 27.1
Achromatopsia
#6e6e6e · ΔE 25.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9e4fa5;
bg-[#9e4fa5]
Related colors
Frequently asked questions
#9e4fa5 (#9e4fa5) is rgb(158, 79, 165) in RGB.
No, #9e4fa5 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 #9e4fa5, or check how it holds up for accessibility.