IPA: /kənˈtrɛrɪli/
KK: /kɒnˈtrɛrɪli/
In a way that shows disagreement or opposition to something.
She argued contrarily to his opinion during the debate.
Contrarily → It is formed from "contra-" (meaning against) and "-ly" (a suffix used to form adverbs). The word "contrarily" means in a manner that is against or opposite to something.
Think of 'against' ('contra-') to remember that 'contrarily' means doing something in an opposite way.