Color #874e79
A muted medium magenta.
Conversions
#874e79
rgb(135, 78, 121)
hsl(314.7, 26.8%, 41.8%)
hsv(314.7, 42.2%, 52.9%)
cmyk(0%, 42.2%, 10.4%, 47.1%)
lab(41.19, 30.54, -14.23)
lch(41.19, 33.69, 335.02)
oklch(50.5%, 0.0963, 336.63)
hwb(314.7, 30.6%, 47.1%)
Harmony colors
Accessibility
White text reads better on this background (6.18:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#737270 · ΔE 24.2
Deuteranopia
#76796e · ΔE 32.6
Tritanopia
#856967 · ΔE 17.1
Achromatopsia
#616161 · ΔE 22.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #874e79;
bg-[#874e79]
Related colors
Frequently asked questions
#874e79 (#874e79) is rgb(135, 78, 121) in RGB.
No, #874e79 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 #874e79, or check how it holds up for accessibility.