Color #ba97c8
A muted light purple.
Conversions
#ba97c8
rgb(186, 151, 200)
hsl(282.9, 30.8%, 68.8%)
hsv(282.9, 24.5%, 78.4%)
cmyk(7%, 24.5%, 0%, 21.6%)
lab(67.08, 21.93, -20.29)
lch(67.08, 29.88, 317.22)
oklch(72.5%, 0.0795, 316.22)
hwb(282.9, 59.2%, 21.6%)
Harmony colors
Accessibility
Black text reads better on this background (8.35:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#acacbe · ΔE 14.1
Deuteranopia
#aeb0bb · ΔE 17
Tritanopia
#b8b5b3 · ΔE 21.2
Achromatopsia
#a3a3a3 · ΔE 20.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba97c8;
bg-[#ba97c8]
Related colors
Frequently asked questions
#ba97c8 (#ba97c8) is rgb(186, 151, 200) in RGB.
No, #ba97c8 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 #ba97c8, or check how it holds up for accessibility.