Color #7d7396
A nearly neutral, gray-leaning medium blue.
Conversions
#7d7396
rgb(125, 115, 150)
hsl(257.1, 14.3%, 52%)
hsv(257.1, 23.3%, 58.8%)
cmyk(16.7%, 23.3%, 0%, 41.2%)
lab(50.48, 11.3, -17.55)
lch(50.48, 20.87, 302.78)
oklch(57.7%, 0.0541, 297.75)
hwb(257.1, 45.1%, 41.2%)
Harmony colors
Accessibility
Black text reads better on this background (4.76:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#79798f · ΔE 6.2
Deuteranopia
#797a8d · ΔE 7.6
Tritanopia
#7d8887 · ΔE 19.8
Achromatopsia
#787878 · ΔE 15.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7d7396;
bg-[#7d7396]
Related colors
Frequently asked questions
#7d7396 (#7d7396) is rgb(125, 115, 150) in RGB.
No, #7d7396 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 #7d7396, or check how it holds up for accessibility.