Color #ba4fd5
A moderately saturated medium purple.
Conversions
#ba4fd5
rgb(186, 79, 213)
hsl(287.9, 61.5%, 57.3%)
hsv(287.9, 62.9%, 83.5%)
cmyk(12.7%, 62.9%, 0%, 16.5%)
lab(52.77, 62.14, -49.93)
lch(52.77, 79.71, 321.22)
oklch(62%, 0.2127, 319)
hwb(287.9, 31%, 16.5%)
Harmony colors
Accessibility
Black text reads better on this background (5.17:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9897bf · ΔE 22.3
Deuteranopia
#9da3ba · ΔE 25.8
Tritanopia
#b6aca7 · ΔE 34.3
Achromatopsia
#7e7e7e · ΔE 28.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba4fd5;
bg-[#ba4fd5]
Related colors
Frequently asked questions
#ba4fd5 (#ba4fd5) is rgb(186, 79, 213) in RGB.
No, #ba4fd5 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 #ba4fd5, or check how it holds up for accessibility.