A series of spiropyran (SP)-based magnetic resonance imaging (MRI) contrast agents have been synthesized and evaluated for changes in relaxivity resulting from irradiation with visible light. Both electron-donating and electron-withdrawing substituents were appended to the SP ring in order to study the electronic effects on the photochromic and relaxivity properties of these photoswitchable MRI contrast agents. Photoswitches lacking an electron-withdrawing substituent isomerize readily between the merocyanine and SP forms, while the addition of a nitro group prevents this process. Complexes capable of isomerizing were demonstrated to effect a change in the relaxivity of the appended gadolinium complex.