Variability patterns of synchrotron and inverse Compton emission in blazars