Tailoring the optical gap in light-harvesting molecules