Color #9a3c7a
A moderately saturated medium magenta.
Conversions
#9a3c7a
rgb(154, 60, 122)
hsl(320.4, 43.9%, 42%)
hsv(320.4, 61%, 60.4%)
cmyk(0%, 61%, 20.8%, 39.6%)
lab(40.42, 46.33, -15.75)
lch(40.42, 48.93, 341.22)
oklch(50.5%, 0.1447, 343.13)
hwb(320.4, 23.5%, 39.6%)
Harmony colors
Accessibility
White text reads better on this background (6.36:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7c7c6f · ΔE 35.3
Deuteranopia
#81866c · ΔE 43.6
Tritanopia
#976563 · ΔE 19.3
Achromatopsia
#5f5f5f · ΔE 24.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9a3c7a;
bg-[#9a3c7a]
Related colors
Frequently asked questions
#9a3c7a (#9a3c7a) is rgb(154, 60, 122) in RGB.
No, #9a3c7a 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 #9a3c7a, or check how it holds up for accessibility.