Your character is considered a pureblood if ALL of his or her ancestors were also pureblood. Any combination of pureblood, halfblood, and/or muggleborn wizards in the history would make the character a halfblood. If both parents are muggles, then the wizard is a muggleborn. Please see the
Blood Status Guide for more information.