The transition element exhibit color and magnetic property due to unpaired electron.Co2+ has electronic configuration [Ar] 4s03d7 has seven unpaired electron, Cr3+ has [Ar] 4s03d3 has three unpaired electrons, therefore, they will form coloured solution whereas Sc3+ [Ar] 4s03d0 has no unpaired electron, it will form colourless solution.
Co2+ and Cr3+ will be attracted by magnetic field due to presence of unpaired electrons whereas Sc3+ will be repelled by magnetic field because it does not have unpaired electrons.