Color #ba6bf2
A vivid, highly saturated light purple.
Conversions
#ba6bf2
rgb(186, 107, 242)
hsl(275.1, 83.9%, 68.4%)
hsv(275.1, 55.8%, 94.9%)
cmyk(23.1%, 55.8%, 0%, 5.1%)
lab(59.31, 54.8, -55.8)
lch(59.31, 78.21, 314.48)
oklch(67.2%, 0.2017, 308.98)
hwb(275.1, 42%, 5.1%)
Harmony colors
Accessibility
Black text reads better on this background (6.47:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9e9ddb · ΔE 16.5
Deuteranopia
#a2a7d5 · ΔE 19.5
Tritanopia
#b7c6c1 · ΔE 32.7
Achromatopsia
#8f8f8f · ΔE 28.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba6bf2;
bg-[#ba6bf2]
Related colors
Frequently asked questions
#ba6bf2 (#ba6bf2) is rgb(186, 107, 242) in RGB.
No, #ba6bf2 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 #ba6bf2, or check how it holds up for accessibility.