Color #ba81cc
A moderately saturated light purple.
Conversions
#ba81cc
rgb(186, 129, 204)
hsl(285.6, 42.4%, 65.3%)
hsv(285.6, 36.8%, 80%)
cmyk(8.8%, 36.8%, 0%, 20%)
lab(62.08, 34.97, -30.2)
lch(62.08, 46.21, 319.19)
oklch(68.7%, 0.1235, 317.82)
hwb(285.6, 50.6%, 20%)
Harmony colors
Accessibility
Black text reads better on this background (7.1:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a4a4bd · ΔE 16.4
Deuteranopia
#a8abba · ΔE 19.4
Tritanopia
#b8b1ae · ΔE 25.7
Achromatopsia
#969696 · ΔE 23.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba81cc;
bg-[#ba81cc]
Related colors
Frequently asked questions
#ba81cc (#ba81cc) is rgb(186, 129, 204) in RGB.
No, #ba81cc 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 #ba81cc, or check how it holds up for accessibility.