Color #8a417d
A muted dark magenta.
Conversions
#8a417d
rgb(138, 65, 125)
hsl(310.7, 36%, 39.8%)
hsv(310.7, 52.9%, 54.1%)
cmyk(0%, 52.9%, 9.4%, 45.9%)
lab(39.01, 39.38, -19.99)
lch(39.01, 44.16, 333.09)
oklch(49%, 0.126, 334.51)
hwb(310.7, 25.5%, 45.9%)
Harmony colors
Accessibility
White text reads better on this background (6.7:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#727172 · ΔE 24.7
Deuteranopia
#757a6f · ΔE 35.8
Tritanopia
#876866 · ΔE 20.6
Achromatopsia
#5c5c5c · ΔE 24
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a417d;
bg-[#8a417d]
Related colors
Frequently asked questions
#8a417d (#8a417d) is rgb(138, 65, 125) in RGB.
No, #8a417d 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 #8a417d, or check how it holds up for accessibility.