FFMPEG - Using variables in curves video filer expression
Assuming you're using bash or a similar shell, you need double quotes. Single quotes conveys its contents literally.

curves=r="0/0 .83/$var3 1/1":g="0/0 0.84/$var3 1/1":b="0/0 0.88/$var3 1/1"