To get rid of the purple outline in Oculus Quest 2, turn off Space Sense in the settings, clean the headset cameras, or try restarting the headset.