Or as someone pointed out pretty early on in the thread, the very definition of "hate crime" includes the motivation:
"a crime motivated by racial, sexual, or other prejudice, typically one involving violence."
"a crime motivated by racial, sexual, or other prejudice, typically one involving violence."