Meaning of “contrary” - Learner’s Dictionary

contrary

adjective uk us /ˈkɒntrəri/

opposite or very different:

a contrary opinion/view
contrary to sth

opposite to what someone said or thought:

Contrary to popular belief, bottled water is not always better than tap water.

If something is contrary to a rule, it does not obey that rule:

Her actions are contrary to the teachings of the church.

(Definition of “contrary adjective” from the Cambridge Learner’s Dictionary © Cambridge University Press)