Color #7f6fa6
A muted medium blue.
Conversions
#7f6fa6
rgb(127, 111, 166)
hsl(257.5, 23.6%, 54.3%)
hsv(257.5, 33.1%, 65.1%)
cmyk(23.5%, 33.1%, 0%, 34.9%)
lab(50.26, 18.2, -27.24)
lch(50.26, 32.76, 303.75)
oklch(57.8%, 0.0847, 297.05)
hwb(257.5, 43.5%, 34.9%)
Harmony colors
Accessibility
Black text reads better on this background (4.73:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#78789b · ΔE 6.5
Deuteranopia
#797a98 · ΔE 8.1
Tritanopia
#7e918f · ΔE 24.5
Achromatopsia
#787878 · ΔE 20.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7f6fa6;
bg-[#7f6fa6]
Related colors
Frequently asked questions
#7f6fa6 (#7f6fa6) is rgb(127, 111, 166) in RGB.
No, #7f6fa6 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 #7f6fa6, or check how it holds up for accessibility.