Contraints on matter from asymptotic safety