Is there keyboard shortcut to deselect text on a mac?
It is app specific as to whether there is a keyboard shortcut for deselecting text. 

The finder uses: Command + Option + A, while Pages uses Command + Shift + A, while Notes, Reminder, and Safari don't have an option.