Color #7b5787
A muted medium purple.
Conversions
#7b5787
rgb(123, 87, 135)
hsl(285, 21.6%, 43.5%)
hsv(285, 35.6%, 52.9%)
cmyk(8.9%, 35.6%, 0%, 47.1%)
lab(42.43, 23.95, -20.98)
lch(42.43, 31.84, 318.78)
oklch(51.3%, 0.085, 317.43)
hwb(285, 34.1%, 47.1%)
Harmony colors
Accessibility
White text reads better on this background (5.91:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6d6d7d · ΔE 15.2
Deuteranopia
#6f727b · ΔE 18.6
Tritanopia
#7a7573 · ΔE 21.8
Achromatopsia
#646464 · ΔE 20.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7b5787;
bg-[#7b5787]
Related colors
Frequently asked questions
#7b5787 (#7b5787) is rgb(123, 87, 135) in RGB.
No, #7b5787 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 #7b5787, or check how it holds up for accessibility.