Color #ba7ccb
A moderately saturated light purple.
Conversions
#ba7ccb
rgb(186, 124, 203)
hsl(287.1, 43.2%, 64.1%)
hsv(287.1, 38.9%, 79.6%)
cmyk(8.4%, 38.9%, 0%, 20.4%)
lab(60.93, 37.51, -31.43)
lch(60.93, 48.94, 320.04)
oklch(67.8%, 0.1311, 318.83)
hwb(287.1, 48.6%, 20.4%)
Harmony colors
Accessibility
Black text reads better on this background (6.83:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#a3a2bc · ΔE 16.9
Deuteranopia
#a6aab8 · ΔE 20.2
Tritanopia
#b8aeab · ΔE 25.8
Achromatopsia
#939393 · ΔE 24.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba7ccb;
bg-[#ba7ccb]
Related colors
Frequently asked questions
#ba7ccb (#ba7ccb) is rgb(186, 124, 203) in RGB.
No, #ba7ccb 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 #ba7ccb, or check how it holds up for accessibility.