The salt gives violet colour in the flame test, which shows the presence of potassium ion (K+) in it. Further, the aqueous solution of salt gives white precipitate with BaCl2 in acidic medium, so it must contain sulphate ion (SO42−) and the precipitate is of BaSO4 Thus, the salt is