Motor Connector Assembly
Possible connector:
Data sheet link:http://www.amphenol-sine.com/pdf/datasheet/C09131N0081002.pdf
DigiKey link: https://www.digikey.ca/en/products/detail/amphenol-sine-systems-corp/C09131N0081002
Assembly:
For more detail about the connector itself check out the series catalog.
The one you should be looking at is the C091D Female receptacle connector.
More options:
There’s a lot of options on what kind of connectors we can use: https://media.digikey.com/pdf/Data Sheets/Amphenol PDFs/ALTW_M_Sensor_connectors.pdf