Spinel is an important crystal structure in ceramic materials.
The general formula of a normal spinel is:
\[
AB_2O_4.
\]
In this structure, divalent cations occupy one type of site and trivalent cations occupy another type of site.
Magnesium aluminate has the formula:
\[
MgAl_2O_4.
\]
Here:
\[
Mg^{2+}
\]
acts as the divalent cation, and
\[
Al^{3+}
\]
acts as the trivalent cation.
Thus, magnesium aluminate exactly fits the spinel formula:
\[
AB_2O_4.
\]
Therefore, the compound having spinel crystal structure is:
\[
MgAl_2O_4.
\]