Michelle Dean traces the transformation of witches in the popular imagination, from religious menace to figures that can be harmless, even subservient:
[T]he witch is no longer terribly wild to us; she’s domesticated, normal, prone perhaps to a spell of madness but one from which she’ll emerge sunny and whole. She no longer signals a liberating spirit. Culturally, we have replicated witch-figures like Samantha of “Bewitched,” whose powers aid her in serving her husband. Our emblematic witch is Hermione Granger, who performs all the magic and takes none of the credit from Harry Potter. She is self-effacing and noble and never in any real danger of contamination by the dark. There are bad witches in Harry Potter, indeed, bad witches in many stories. But their cartoonish one-dimensionality cancels out any real portent.