Blue: Line in. To connect to outside audio sources.
Green:. Line out. To connect to the left/right front speakers.
Purple: To connect to the rear left/right speakers in a surround sound setup such as with a 5.1 speaker system like the Logitech 680's.