Kesha’s newest release comes after a caustic legal war against her former producer, Dr. Luke, spawned by allegations of sexual assault. From her familiar EDM-influenced bangers, “Rainbow” departs toward a richer emotional transparency that will impress fans and critics alike. Take the lead single, “Praying,” in which Kesha bids a thankful farewell to the figure who wronged her. The album’s 14 tracks toy with a mosaic of genres, from glam to country rock, that all amount to variations on the same theme: moving on. Its peak comes on “Woman,” a feminist anthem that extols independence from men with defiant vim. The convincing if redundant “Rainbow” is at once an epilogue to horrors past and an overture to re-found freedom. Like a rainbow after a storm, its vibrant technicolor might well signal hope for young women everywhere struggling with trauma and identity.