Color #ba68a7
A muted medium magenta.
Conversions
#ba68a7
rgb(186, 104, 167)
hsl(313.9, 37.3%, 56.9%)
hsv(313.9, 44.1%, 72.9%)
cmyk(0%, 44.1%, 10.2%, 27.1%)
lab(55.21, 41.54, -19.65)
lch(55.21, 45.95, 334.68)
oklch(63.1%, 0.1314, 336.26)
hwb(313.9, 40.8%, 27.1%)
Harmony colors
Accessibility
Black text reads better on this background (5.63:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9d9d9b · ΔE 27.3
Deuteranopia
#a1a798 · ΔE 37.8
Tritanopia
#b7908e · ΔE 20.3
Achromatopsia
#848484 · ΔE 24.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba68a7;
bg-[#ba68a7]
Related colors
Frequently asked questions
#ba68a7 (#ba68a7) is rgb(186, 104, 167) in RGB.
No, #ba68a7 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 #ba68a7, or check how it holds up for accessibility.