Color #a751b5
A moderately saturated medium magenta.
Conversions
#a751b5
rgb(167, 81, 181)
hsl(291.6, 40.3%, 51.4%)
hsv(291.6, 55.2%, 71%)
cmyk(7.7%, 55.2%, 0%, 29%)
lab(48.81, 50.23, -37.94)
lch(48.81, 62.95, 322.94)
oklch(58%, 0.1704, 321.87)
hwb(291.6, 31.8%, 29%)
Harmony colors
Accessibility
White text reads better on this background (4.68:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8a89a4 · ΔE 21.1
Deuteranopia
#8e949f · ΔE 23.7
Tritanopia
#a49491 · ΔE 29.2
Achromatopsia
#747474 · ΔE 26.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a751b5;
bg-[#a751b5]
Related colors
Frequently asked questions
#a751b5 (#a751b5) is rgb(167, 81, 181) in RGB.
No, #a751b5 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 #a751b5, or check how it holds up for accessibility.