Color #7c7fa3
A muted medium blue.
Conversions
#7c7fa3
rgb(124, 127, 163)
hsl(235.4, 17.5%, 56.3%)
hsv(235.4, 23.9%, 63.9%)
cmyk(23.9%, 22.1%, 0%, 36.1%)
lab(54.14, 7.02, -19.54)
lch(54.14, 20.76, 289.76)
oklch(60.7%, 0.0546, 280.88)
hwb(235.4, 48.6%, 36.1%)
Harmony colors
Accessibility
Black text reads better on this background (5.42:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7d7d9b · ΔE 2.3
Deuteranopia
#7d7d99 · ΔE 2.9
Tritanopia
#7c9593 · ΔE 20.8
Achromatopsia
#818181 · ΔE 14.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7c7fa3;
bg-[#7c7fa3]
Related colors
Frequently asked questions
#7c7fa3 (#7c7fa3) is rgb(124, 127, 163) in RGB.
No, #7c7fa3 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 #7c7fa3, or check how it holds up for accessibility.