The earthquake struck the town of Wagin, 230km southeast of Perth, shortly before 5.30am on Tuesday. Find out how people reacted.
Social media users have reported feeling the earthquake on the tourist island of Bali.