Color #ba8ec2
A muted light magenta.
Conversions
#ba8ec2
rgb(186, 142, 194)
hsl(290.8, 29.9%, 65.9%)
hsv(290.8, 26.8%, 76.1%)
cmyk(4.1%, 26.8%, 0%, 23.9%)
lab(64.71, 25.74, -20.55)
lch(64.71, 32.94, 321.4)
oklch(70.6%, 0.0888, 321.17)
hwb(290.8, 55.7%, 23.9%)
Harmony colors
Accessibility
Black text reads better on this background (7.74:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a9a8b7 · ΔE 16.2
Deuteranopia
#abaeb4 · ΔE 19.9
Tritanopia
#b8aeac · ΔE 20.7
Achromatopsia
#9d9d9d · ΔE 21.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba8ec2;
bg-[#ba8ec2]
Related colors
Frequently asked questions
#ba8ec2 (#ba8ec2) is rgb(186, 142, 194) in RGB.
No, #ba8ec2 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 #ba8ec2, or check how it holds up for accessibility.