Hermannus Contractus (also called Herman the Cripple; 1013–1054) is said to have authored the hymn based on the writings of Saints Fulgentius, Epiphanius, and Irenaeus of Lyon.
At one time Alma Redemptoris Mater was briefly used as an antiphon for the hour of Sext for the feast of the Assumption, but since the 13th century it has been a part of Compline.
[3] Alma Redemptóris Mater, quæ pérvia cæli Porta manes, et stella maris, succúrre cadénti, Súrgere qui curat pópulo: tu quæ genuísti, Natúra miránte, tuum sanctum Genitórem Virgo prius ac postérius, Gabriélis ab ore Sumens illud Ave, peccatórum miserére.
The first collect (“Grátiam tuam quáesumus...”) is notably also used in Masses during Advent, and is exactly the same prayer that concludes the Angelus (another Marian devotion focused on the Incarnation).
Oremus Grátiam tuam quáesumus, Dómine, méntibus nostris infúnde; ut qui, ángelo nuntiánte, Christi Fílii tui Incarnatiónem cognóvimus, per passiónem ejus et crucem, ad resurrectiónis glóriam perducámur.
Orémus Deus, qui salútis ætérnæ beátæ Maríæ virginitáte fecúnda humáno géneri práemia præstitísti: tríbue, quáesumus, ut ipsam pro nobis intercédere sentiámus, per quam merúimus, Auctórem vitæ suscípere Dóminum nostrum Jesum Christum Fílium tuum.
Loving Mother of the Redeemer, who remains the accessible Gateway of Heaven, and Star of the Sea, Give aid to a falling people that strives to rise; O Thou who begot thy holy Creator, while all nature marvelled, Virgin before and after receiving that "Ave" from the mouth of Gabriel, have mercy on sinners.
O God, Who by the fruitful virginity of blessed Mary, hast given to mankind the rewards of eternal salvation: grant, we beseech Thee, that we may experience her intercession for us, through whom we deserved to receive the Author of life, our Lord Jesus Christ, thy Son.
Loving mother of the Redeemer, gate of heaven, star of the sea, assist your people who have fallen yet strive to rise again, To the wonderment of nature you bore your Creator, yet remained a virgin after as before, You who received Gabriel's joyful greeting, have pity on us poor sinners.
[6] Kind mother of the Redeemer, who remain the open gate of heaven and the star of the sea: help your falling people who want to rise, you who bore your holy Parent, while nature marveled: a Virgin before and after, receiving that Ave from Gabriel's mouth, have mercy on [us] sinners.