What motherboard do you have?
Generally, any i5 or i7 of the era should be compatible..... but if it's an OEM motherboard (from a Dell, Lenovo etc), you may have BIOS support limitations -- although admittedly, that's pretty unlikely.
You should be fine with any IvyBridge CPU... examples: i5-3330, 3550, 3570 or i7-3770.
You should also be fine with the slightly older SandyBridge i7-2600 etc.