Color #7f498b
A muted medium purple.
Conversions
#7f498b
rgb(127, 73, 139)
hsl(289.1, 31.1%, 41.6%)
hsv(289.1, 47.5%, 54.5%)
cmyk(8.6%, 47.5%, 0%, 45.5%)
lab(39.82, 34.29, -27.43)
lch(39.82, 43.91, 321.34)
oklch(49.5%, 0.1181, 320.15)
hwb(289.1, 28.6%, 45.5%)
Harmony colors
Accessibility
White text reads better on this background (6.51:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6c6b7f · ΔE 17.1
Deuteranopia
#6f727c · ΔE 20.9
Tritanopia
#7d7472 · ΔE 24.6
Achromatopsia
#5e5e5e · ΔE 23.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7f498b;
bg-[#7f498b]
Related colors
Frequently asked questions
#7f498b (#7f498b) is rgb(127, 73, 139) in RGB.
No, #7f498b 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 #7f498b, or check how it holds up for accessibility.