 If unpaired electrons are present, it is attracted to a magnetic field, and therefore paramagnetic.Oxygen is an example of a paramagnetic diatomic.Also notice the bond order of diatomic oxygen is two.