Color #9d417d
A moderately saturated medium magenta.
Conversions
#9d417d
rgb(157, 65, 125)
hsl(320.9, 41.4%, 43.5%)
hsv(320.9, 58.6%, 61.6%)
cmyk(0%, 58.6%, 20.4%, 38.4%)
lab(41.89, 45.34, -15.32)
lch(41.89, 47.86, 341.33)
oklch(51.8%, 0.1414, 343.23)
hwb(320.9, 25.5%, 38.4%)
Harmony colors
Accessibility
White text reads better on this background (6.02:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#807f72 · ΔE 34.7
Deuteranopia
#84896f · ΔE 43.3
Tritanopia
#9a6866 · ΔE 19
Achromatopsia
#636363 · ΔE 24.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9d417d;
bg-[#9d417d]
Related colors
Frequently asked questions
#9d417d (#9d417d) is rgb(157, 65, 125) in RGB.
No, #9d417d 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 #9d417d, or check how it holds up for accessibility.