Principle of the Biuret Test
The $\ce{Cu^{2+}}$ ion is capable of coordinating to the lone pairs of the nitrogens of the amide bonds.

$\hspace{1.4cm}$

The formation of this complex is associated with a certain energy change in the orbitals of the $\ce{Cu^{2+}}$ ion, and hence a color change.