Color #7e758b
A nearly neutral, gray-leaning medium purple.
Conversions
#7e758b
rgb(126, 117, 139)
hsl(264.5, 8.7%, 50.2%)
hsv(264.5, 15.8%, 54.5%)
cmyk(9.4%, 15.8%, 0%, 45.5%)
lab(50.71, 7.97, -10.72)
lch(50.71, 13.36, 306.63)
oklch(57.8%, 0.0348, 303.87)
hwb(264.5, 45.9%, 45.5%)
Harmony colors
Accessibility
Black text reads better on this background (4.8:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7a7a86 · ΔE 6.3
Deuteranopia
#7b7b85 · ΔE 7.2
Tritanopia
#7e8281 · ΔE 14.1
Achromatopsia
#797979 · ΔE 11.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7e758b;
bg-[#7e758b]
Related colors
Frequently asked questions
#7e758b (#7e758b) is rgb(126, 117, 139) in RGB.
No, #7e758b 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 #7e758b, or check how it holds up for accessibility.