Color #ba76c5
A moderately saturated light magenta.
Conversions
#ba76c5
rgb(186, 118, 197)
hsl(291.6, 40.5%, 61.8%)
hsv(291.6, 40.1%, 77.3%)
cmyk(5.6%, 40.1%, 0%, 22.7%)
lab(59.37, 39.57, -30.45)
lch(59.37, 49.93, 322.42)
oklch(66.6%, 0.1352, 321.85)
hwb(291.6, 46.3%, 22.7%)
Harmony colors
Accessibility
Black text reads better on this background (6.49:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#a1a1b6 · ΔE 18.9
Deuteranopia
#a5a9b2 · ΔE 21.7
Tritanopia
#b7a9a6 · ΔE 25.5
Achromatopsia
#8f8f8f · ΔE 24.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba76c5;
bg-[#ba76c5]
Related colors
Frequently asked questions
#ba76c5 (#ba76c5) is rgb(186, 118, 197) in RGB.
No, #ba76c5 is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #ba76c5, or check how it holds up for accessibility.