There should be a certain range of sentence permitted. This range should not be altered by the victim’s race, gender, orientation, etc. In any case, the basic offense should be the same regardless, with no additional “bias” charges slapped on.
And no, I don’t think a top student at Stanford engaging in random violence is any better than an HS dropout doing so. Though I suppose they’re more likely to get off, since they’ll more likely to be able to afford a good lawyer (think about how Leopold and Loeb didn’t go to the electric chair for their crimes).