。
She gave him a tie that was a perfect match for his taste.
Literal
She [topic-は] his [genitive-の] taste [to-に] perfectly fit-past necktie [object-を] gifted.
ピッタリ is a 擬態語 ('perfectly, exactly, snugly') often used with 合う ('fit, match') to mean 'fit perfectly.' Here ピッタリ合った is used as a prenominal modifier on ネクタイ ('a tie that perfectly fit'). ~の好みに合う ('match someone's taste') is a common collocation — に marks the standard the thing matches against. プレゼントする ('to gift, give') is a する-verb made from the loanword プレゼント.