Beyonce and her family know how to do Halloween right.

The superstar singer and her daughter, Blue Ivy, 4, and her mother, Tina Knowles Lawson, 62, were all decked out in Salt-N-Pepa-inspired costumes Sunday.

>> Read more trending stories

The family was dressed up for Beyonce's cousin Angie Beyince's '80s and 90's-themed 40th birthday party.

From the looks of it, the trio directly drew inspiration from the rap group's 1986 "Push It" music video.

Also in attendance was Blue's dad and Beyonce's husband, rapper Jay Z, and Lawson's husband, actor Richard Lawson.

Lawson captured Instagram video of Beyonce and Jay on the dance floor:

Singer Kelly Rowland, who was in Destiny's Child with Beyonce, also showed up and dressed as Dionne, played by Stacey Dash in the '90s movie "Clueless."

Beyonce herself posted an Instagram video of photos from the party set to "Push It."