perversity

noun
UK /pəˈvɜːsəti/
US /pərˈvɜːrsəti/

The wish to do the opposite of what is right or expected.

Out of pure perversity, he refused to wear a coat even though it was freezing.


OTHER MEANINGS

2. Something that is strange, wrong, or unreasonable.

The perversity of the rules made no sense to anyone.

3. A tendency to behave in a way that is morally wrong or harmful.

The perversity of his lies shocked the whole town.

4. The quality of being different from what is normal or accepted.

Critics noted the perversity of praising a film everyone else hated.