Color #7f4898
A muted medium purple.
Conversions
#7f4898
rgb(127, 72, 152)
hsl(281.3, 35.7%, 43.9%)
hsv(281.3, 52.6%, 59.6%)
cmyk(16.4%, 52.6%, 0%, 40.4%)
lab(40.27, 37.71, -34.59)
lch(40.27, 51.17, 317.47)
oklch(50.1%, 0.1346, 314.28)
hwb(281.3, 28.2%, 40.4%)
Harmony colors
Accessibility
White text reads better on this background (6.4:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6b6b8a · ΔE 15.6
Deuteranopia
#6e7286 · ΔE 18.8
Tritanopia
#7d7d7a · ΔE 29.7
Achromatopsia
#5f5f5f · ΔE 24.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7f4898;
bg-[#7f4898]
Related colors
Frequently asked questions
#7f4898 (#7f4898) is rgb(127, 72, 152) in RGB.
No, #7f4898 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 #7f4898, or check how it holds up for accessibility.