Color #87396e
A moderately saturated dark magenta.
Conversions
#87396e
rgb(135, 57, 110)
hsl(319.2, 40.6%, 37.6%)
hsv(319.2, 57.8%, 52.9%)
cmyk(0%, 57.8%, 18.5%, 47.1%)
lab(36.37, 39.99, -14.74)
lch(36.37, 42.62, 339.77)
oklch(46.8%, 0.1252, 341.65)
hwb(319.2, 22.4%, 47.1%)
Harmony colors
Accessibility
White text reads better on this background (7.39:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#6e6d64 · ΔE 31.2
Deuteranopia
#727662 · ΔE 39
Tritanopia
#845c5a · ΔE 18.2
Achromatopsia
#565656 · ΔE 24
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #87396e;
bg-[#87396e]
Related colors
Frequently asked questions
#87396e (#87396e) is rgb(135, 57, 110) in RGB.
No, #87396e 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 #87396e, or check how it holds up for accessibility.