Color #7f7897
A nearly neutral, gray-leaning medium blue.
Conversions
#7f7897
rgb(127, 120, 151)
hsl(253.5, 13%, 53.1%)
hsv(253.5, 20.5%, 59.2%)
cmyk(15.9%, 20.5%, 0%, 40.8%)
lab(52.04, 9.26, -15.74)
lch(52.04, 18.26, 300.47)
oklch(59%, 0.0474, 295.21)
hwb(253.5, 47.1%, 40.8%)
Harmony colors
Accessibility
Black text reads better on this background (5.04:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7c7c90 · ΔE 5.2
Deuteranopia
#7c7d8f · ΔE 6.3
Tritanopia
#7f8b89 · ΔE 19
Achromatopsia
#7c7c7c · ΔE 14.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7f7897;
bg-[#7f7897]
Related colors
Frequently asked questions
#7f7897 (#7f7897) is rgb(127, 120, 151) in RGB.
No, #7f7897 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 #7f7897, or check how it holds up for accessibility.