Color #ba7fca
A moderately saturated light purple.
Conversions
#ba7fca
rgb(186, 127, 202)
hsl(287.2, 41.4%, 64.5%)
hsv(287.2, 37.1%, 79.2%)
cmyk(7.9%, 37.1%, 0%, 20.8%)
lab(61.55, 35.66, -29.9)
lch(61.55, 46.54, 320.02)
oklch(68.3%, 0.1247, 318.9)
hwb(287.2, 49.8%, 20.8%)
Harmony colors
Accessibility
Black text reads better on this background (6.98:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#a4a3bb · ΔE 16.8
Deuteranopia
#a7abb8 · ΔE 20.1
Tritanopia
#b8afac · ΔE 25.4
Achromatopsia
#959595 · ΔE 24
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba7fca;
bg-[#ba7fca]
Related colors
Frequently asked questions
#ba7fca (#ba7fca) is rgb(186, 127, 202) in RGB.
No, #ba7fca 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 #ba7fca, or check how it holds up for accessibility.