Ralph Petty Quarles (June 10, 1855 – November 15, 1921) was an associate justice of the Idaho Supreme Court from 1897 to 1901, serving as Chief Justice of that court from 1901 to 1903, and later an associate justice of the Supreme Court of Hawaii from 1914 to 1918.