This paper proposes a voltage source converter (VSC) control strategy for the high voltage direct current (HVDC) transmission systems compensating the harmonic components. For VSC-HVDC AC system accounted for a relatively large share of the 5th, 7th, 11th, 13th and other low harmonics. A selective harmonic current control strategy based on vector proportional integral (VPI) regulator in dq coordinate system is proposed on the basis of PI control. In which, PI is used to control the DC component of the current error, while VPI is used to suppress the multiplicative fluctuations of the current error. Unlike the proportional-integral resonant (PIR) regulator, the VPI contains a second-order numerator that achieves the ideal 0° phase delay of the closed-loop transfer function of the control system at the set resonant frequency point, so its control accuracy for harmonic currents is better than that of the PIR. A two-terminal VSC-HVDC system is built using Simulink software, and current compensation simulations are performed for three control methods: conventional PI, PIR and PI parallel VPI schemes. The superior harmonic suppression performance of VPI is verified by comparing the harmonic content.