Color #ba66ef
A vivid, highly saturated light purple.
Conversions
#ba66ef
rgb(186, 102, 239)
hsl(276.8, 81.1%, 66.9%)
hsv(276.8, 57.3%, 93.7%)
cmyk(22.2%, 57.3%, 0%, 6.3%)
lab(58.2, 56.65, -55.9)
lch(58.2, 79.59, 315.38)
oklch(66.4%, 0.2059, 310.27)
hwb(276.8, 40%, 6.3%)
Harmony colors
Accessibility
Black text reads better on this background (6.23:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9d9cd8 · ΔE 17.4
Deuteranopia
#a1a6d2 · ΔE 20.5
Tritanopia
#b7c3be · ΔE 33.4
Achromatopsia
#8c8c8c · ΔE 28.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba66ef;
bg-[#ba66ef]
Related colors
Frequently asked questions
#ba66ef (#ba66ef) is rgb(186, 102, 239) in RGB.
No, #ba66ef 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 #ba66ef, or check how it holds up for accessibility.