Color #ba89b1
A muted light magenta.
Conversions
#ba89b1
rgb(186, 137, 177)
hsl(311, 26.2%, 63.3%)
hsv(311, 26.3%, 72.9%)
cmyk(0%, 26.3%, 4.8%, 27.1%)
lab(62.93, 25.29, -13.67)
lch(62.93, 28.75, 331.61)
oklch(69%, 0.0805, 332.96)
hwb(311, 53.7%, 27.1%)
Harmony colors
Accessibility
Black text reads better on this background (7.3:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a7a7a8 · ΔE 20.8
Deuteranopia
#aaada6 · ΔE 28.1
Tritanopia
#b8a1a0 · ΔE 15.8
Achromatopsia
#989898 · ΔE 20.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba89b1;
bg-[#ba89b1]
Related colors
Frequently asked questions
#ba89b1 (#ba89b1) is rgb(186, 137, 177) in RGB.
No, #ba89b1 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 #ba89b1, or check how it holds up for accessibility.