The Channel Invert (SDR Only) Output AOV node can be used to invert the pixel values for RGB, Alpha, or RGB+Alpha (figure 1). 



channel invert (SDR only)




Figure 1: The Channel Invert Output AOV node used to invert the pixel values for the Diffuse AOV in a composite node tree