Color #ba68e2
A moderately saturated light purple.
Conversions
#ba68e2
rgb(186, 104, 226)
hsl(280.3, 67.8%, 64.7%)
hsv(280.3, 54%, 88.6%)
cmyk(17.7%, 54%, 0%, 11.4%)
lab(57.88, 52.87, -49.16)
lch(57.88, 72.19, 317.08)
oklch(65.9%, 0.1892, 313.41)
hwb(280.3, 40.8%, 11.4%)
Harmony colors
Accessibility
Black text reads better on this background (6.17:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9d9dcd · ΔE 18.2
Deuteranopia
#a1a7c7 · ΔE 21.3
Tritanopia
#b7bab6 · ΔE 32.6
Achromatopsia
#8b8b8b · ΔE 27.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba68e2;
bg-[#ba68e2]
Related colors
Frequently asked questions
#ba68e2 (#ba68e2) is rgb(186, 104, 226) in RGB.
No, #ba68e2 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 #ba68e2, or check how it holds up for accessibility.