Optogenetic methods take advantage of photoswitches to control the activity of cellular proteins. Here, we completed a multi-directional engineering of the fungal photoreceptor Vivid to develop pairs of distinct photoswitches named Magnets. These new photoswitches were engineered to recognize each other based on the electrostatic interactions, thus preventing homodimerization and enhancing light-induced heterodimerization. Furthermore, we tuned the switch-off kinetics by four orders of magnitude and developed several variants, including those with substantially faster kinetics than any of the other conventional dimerization-based blue spectrum photoswitches. We demonstrate the utility of Magnets as powerful tools that can optogenetically manipulate molecular processes in biological systems.