Color #7b7a98
A nearly neutral, gray-leaning medium blue.
Conversions
#7b7a98
rgb(123, 122, 152)
hsl(242, 12.7%, 53.7%)
hsv(242, 19.7%, 59.6%)
cmyk(19.1%, 19.7%, 0%, 40.4%)
lab(52.28, 6.96, -15.99)
lch(52.28, 17.44, 293.52)
oklch(59.1%, 0.0455, 286.48)
hwb(242, 47.8%, 40.4%)
Harmony colors
Accessibility
Black text reads better on this background (5.08:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7b7b91 · ΔE 3
Deuteranopia
#7b7b90 · ΔE 3.4
Tritanopia
#7b8c8b · ΔE 18.3
Achromatopsia
#7d7d7d · ΔE 13.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7b7a98;
bg-[#7b7a98]
Related colors
Frequently asked questions
#7b7a98 (#7b7a98) is rgb(123, 122, 152) in RGB.
No, #7b7a98 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 #7b7a98, or check how it holds up for accessibility.