Color #7e7897
A nearly neutral, gray-leaning medium blue.
Conversions
#7e7897
rgb(126, 120, 151)
hsl(251.6, 13%, 53.1%)
hsv(251.6, 20.5%, 59.2%)
cmyk(16.6%, 20.5%, 0%, 40.8%)
lab(51.95, 8.91, -15.88)
lch(51.95, 18.21, 299.3)
oklch(58.9%, 0.0473, 293.8)
hwb(251.6, 47.1%, 40.8%)
Harmony colors
Accessibility
Black text reads better on this background (5.02:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7b7b90 · ΔE 4.6
Deuteranopia
#7c7c8f · ΔE 5.4
Tritanopia
#7e8b89 · ΔE 19
Achromatopsia
#7c7c7c · ΔE 14.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7e7897;
bg-[#7e7897]
Related colors
Frequently asked questions
#7e7897 (#7e7897) is rgb(126, 120, 151) in RGB.
No, #7e7897 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 #7e7897, or check how it holds up for accessibility.