An illegal contract is a contract which breaches principles of law, or the fundamental principles of law of contract.
A contact isn't considered legal if:
Examples of Illegal Contract:
The contract isn't enforceable, because it requires you to blow up the Houses of Parliament.|
The contract is void, because the rowboat is valued at $4,000,000