AB de Villiers scored a total of 313 runs for the Royal Challengers Bangalore (RCB) in the IPL 2021 season.