Color #8d41a6
A moderately saturated medium purple.
Conversions
#8d41a6
rgb(141, 65, 166)
hsl(285.1, 43.7%, 45.3%)
hsv(285.1, 60.8%, 65.1%)
cmyk(15.1%, 60.8%, 0%, 34.9%)
lab(41.53, 48.22, -40.86)
lch(41.53, 63.2, 319.72)
oklch(51.7%, 0.1673, 316.96)
hwb(285.1, 25.5%, 34.9%)
Harmony colors
Accessibility
White text reads better on this background (6.11:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#747395 · ΔE 18.8
Deuteranopia
#787c91 · ΔE 22.2
Tritanopia
#8a8683 · ΔE 31.5
Achromatopsia
#626262 · ΔE 26.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8d41a6;
bg-[#8d41a6]
Related colors
Frequently asked questions
#8d41a6 (#8d41a6) is rgb(141, 65, 166) in RGB.
No, #8d41a6 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 #8d41a6, or check how it holds up for accessibility.