Color #ba4bde
A moderately saturated medium purple.
Conversions
#ba4bde
rgb(186, 75, 222)
hsl(285.3, 69%, 58.2%)
hsv(285.3, 66.2%, 87.1%)
cmyk(16.2%, 66.2%, 0%, 12.9%)
lab(52.67, 65.6, -55.2)
lch(52.67, 85.73, 319.92)
oklch(62.1%, 0.2262, 316.77)
hwb(285.3, 29.4%, 12.9%)
Harmony colors
Accessibility
Black text reads better on this background (5.15:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9796c7 · ΔE 22
Deuteranopia
#9ca3c1 · ΔE 25.8
Tritanopia
#b6b2ad · ΔE 36.8
Achromatopsia
#7e7e7e · ΔE 29.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba4bde;
bg-[#ba4bde]
Related colors
Frequently asked questions
#ba4bde (#ba4bde) is rgb(186, 75, 222) in RGB.
No, #ba4bde 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 #ba4bde, or check how it holds up for accessibility.