William Percival Gray (March 26, 1912 – February 10, 1992) was a United States federal judge.
Born in Los Angeles, California, Gray received an A.B. from the University of California, Los Angeles in 1934 and an LL.B. from Harvard Law School in 1939. He was a law clerk to the Hon. Harold M. Stephens of the United States Court of Appeals for the D.C. Circuit from 1939 to 1940, and was in private practice in Los Angeles from 1940 to 1941. He served in the United States Army during World War II, from 1941 to 1945, achieving the rank of lieutenant colonel. After the war, he returned to private practice in Los Angeles from 1945 to 1966, also serving as a Special assistant to the U.S. Attorney General from 1958 to 1964.
On June 13, 1966, Gray was nominated by President Lyndon B. Johnson to a seat on the United States District Court for the Southern District of California vacated by Harry C. Westover. Gray was confirmed by the United States Senate on June 29, 1966, and received his commission on July 2, 1966. Gray served in that capacity until September 18, 1966, when he was reassigned to the United States District Court for the Central District of California. He assumed senior status on March 26, 1982, serving in that capacity until his death, in Pasadena, California.