Color #873ea2
A moderately saturated medium purple.
Conversions
#873ea2
rgb(135, 62, 162)
hsl(283.8, 44.6%, 43.9%)
hsv(283.8, 61.7%, 63.5%)
cmyk(16.7%, 61.7%, 0%, 36.5%)
lab(39.92, 47.32, -41.07)
lch(39.92, 62.66, 319.04)
oklch(50.2%, 0.1651, 315.83)
hwb(283.8, 24.3%, 36.5%)
Harmony colors
Accessibility
White text reads better on this background (6.48:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6f6e92 · ΔE 18
Deuteranopia
#72778d · ΔE 21.5
Tritanopia
#84837f · ΔE 33
Achromatopsia
#5e5e5e · ΔE 26.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #873ea2;
bg-[#873ea2]
Related colors
Frequently asked questions
#873ea2 (#873ea2) is rgb(135, 62, 162) in RGB.
No, #873ea2 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 #873ea2, or check how it holds up for accessibility.