“Tut, tut — hardly any of you remembered that my favorite color is lilac. I say so in Year with the Yeti. And a few of you need to read Wanderings with Werewolves more carefully — I clearly state in chapter twelve that my ideal birthday gift would be harmony between all magic and non-magic peoples — though I wouldn’t say no to a large bottle of Ogden’s Old Firewhisky!”
He gave them another roguish wink. Ron was now staring at Lockhart with an expression of disbelief on his face; Seamus Finnigan and Dean Thomas, who were sitting in front, were shaking with silent laughter. Hermione, on the other hand, was listening to Lockhart with rapt attention and gave a start when he mentioned her name.
“... but Miss Hermione Granger knew my secret ambition is to rid the world of evil and market my own range of hair-care potions — good girl! In fact” — he flipped her paper over — “full marks! Where is Miss Hermione Granger?”
Hermione raised a trembling hand.
“Excellent!” beamed Lockhart. “Quite excellent! Take ten points for Gryffindor! And so — to business —”

Harry Potter and the Chamber of Secrets - Chapter 6 : Gilderoy Lockhart
See this quote in the Pensive -