OK thanks.....here is where things get interesting.....those connectors do not seem to correspond to anything on your '97 XP wiring diagram....so I checked the '97 GTX wiring diagram and it would appear that the 2 prong connector (Purple/grey, Black/grey) would go to the COMPASS and the Grey plug would go to the Tachometer and the Infocenter and connect to your MPEM.
Your wiring diagram does not show the ski as having a Tach or Infocenter guage or a Compass, so they could just be remnants of using the same harnesses for multiple skis of the same era.....