Color #ba9cf6
A vivid, highly saturated light purple.
Conversions
#ba9cf6
rgb(186, 156, 246)
hsl(260, 83.3%, 78.8%)
hsv(260, 36.6%, 96.5%)
cmyk(24.4%, 36.6%, 0%, 3.5%)
lab(70.08, 29.23, -40.99)
lch(70.08, 50.34, 305.49)
oklch(75.4%, 0.1298, 298.58)
hwb(260, 61.2%, 3.5%)
Harmony colors
Accessibility
Black text reads better on this background (9.17:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#aeaee4 · ΔE 8.2
Deuteranopia
#b0b2e0 · ΔE 9.7
Tritanopia
#b9d5d2 · ΔE 26.9
Achromatopsia
#ababab · ΔE 24.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba9cf6;
bg-[#ba9cf6]
Related colors
Frequently asked questions
#ba9cf6 (#ba9cf6) is rgb(186, 156, 246) in RGB.
No, #ba9cf6 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 #ba9cf6, or check how it holds up for accessibility.