Color #ba9ec3
A muted light purple.
Conversions
#ba9ec3
rgb(186, 158, 195)
hsl(285.4, 23.6%, 69.2%)
hsv(285.4, 19%, 76.5%)
cmyk(4.6%, 19%, 0%, 23.5%)
lab(68.63, 17.03, -15.17)
lch(68.63, 22.81, 318.31)
oklch(73.6%, 0.061, 317.86)
hwb(285.4, 62%, 23.5%)
Harmony colors
Accessibility
Black text reads better on this background (8.77:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#afaebb · ΔE 12.8
Deuteranopia
#b0b2b9 · ΔE 16
Tritanopia
#b9b4b3 · ΔE 17.2
Achromatopsia
#a7a7a7 · ΔE 17.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba9ec3;
bg-[#ba9ec3]
Related colors
Frequently asked questions
#ba9ec3 (#ba9ec3) is rgb(186, 158, 195) in RGB.
No, #ba9ec3 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 #ba9ec3, or check how it holds up for accessibility.