I also have a 2011 27" iMac, but clearly different color wires.
I reverse engineered Virtual Drivers video to get the pin order, not the colors since those change even between the same models.
For my 2011 27" iMac 7 wiring is as follows (camera facing you, looking at the QR code, from left to right):
wire 1 black - x
wire 2 purple - x
wire 3 brown - x
wire 4 black - black
wire 5 grey - green
wire 6 green - white
wire 7 blue - red