Color #873c93
A moderately saturated medium magenta.
Conversions
#873c93
rgb(135, 60, 147)
hsl(291.7, 42%, 40.6%)
hsv(291.7, 59.2%, 57.6%)
cmyk(8.2%, 59.2%, 0%, 42.4%)
lab(38.71, 45.2, -33.96)
lch(38.71, 56.54, 323.08)
oklch(49.1%, 0.153, 321.95)
hwb(291.7, 23.5%, 42.4%)
Harmony colors
Accessibility
White text reads better on this background (6.78:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6e6e84 · ΔE 20.3
Deuteranopia
#727781 · ΔE 22.9
Tritanopia
#847774 · ΔE 27.9
Achromatopsia
#5b5b5b · ΔE 25.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #873c93;
bg-[#873c93]
Related colors
Frequently asked questions
#873c93 (#873c93) is rgb(135, 60, 147) in RGB.
No, #873c93 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 #873c93, or check how it holds up for accessibility.