A breach of contract is a violation that can invalidate the contract. On the other hand, a violation is an action against the contract not necessarily invalidating the contract.