The directed movement of any of the vitamin B6 compounds -- pyridoxal, pyridoxamine and pyridoxine and the active form, pyridoxal phosphate -- into, out of or within a cell, or between cells, by means of some agent such as a transporter or pore.