There is no capital gains tax to the individual during the accumulation period of a variable annuity.
The amount of each annuity payment, including capital gains appreciation in excess of the tax-free return, is taxed as ordinary income during the period of payout.