Purcell sent a wrist shot past Jimmy Howard for the game-winner after Richard Panik forced a turnover behind the net and put a pass into the crease.
Ben Bishop turned aside 25 shots.
Henrik Zetterberg got both Detroit goals but it wasn't enough as the Red Wings dropped a third straight.
Howard finished with 34 saves.
Astronomers offer more expansive view of universe
Attkisson leaves CBS News, reportedly over network's 'liberal bias'