Catalysis of the reaction: L-tyrosine + tetrahydrobiopterin + O2 = 3,4-dihydroxy-L-phenylalanine + 4-alpha-hydroxytetrahydrobiopterin + H2O.
L-tyrosine,tetrahydrobiopterin:oxygen oxidoreductase (3-hydroxylating)