You're right that consultants and contractors earn more money because they assume more risk. I don't think that contradicts anything I said though. I think a lot of FTE programmers earn less than they could earn (still as FTEs), purely for lack of negotiating skills.
When you take an employee position for a quarter of that, a large portion of what you're doing is reapportioning risk. Your employer gets to keep all the surplus value of the work you do - and in exchange, they bear all the risk if the product fails entirely, as many software projects do.