Here's another way to arrive at the same answer, assuming the question wasn't labeled a "progressive matrix" in the app.
Each small grid in the large purple grid have a single instance of three shapes:
█ █ █
This is also true for C and D.
Each small grid has its corresponding position in the large grid shaded. Following this pattern,...