$\v b^\perp$ is the projection of $\v b$ onto $\v a$ if $$ \v b^\perp = (\v b\cdot\vhat a)\vhat a. $$