The open-circuit voltage is the voltage at which the forward bias diffusion current is exactly equal to the short circuit current. The forward bias diffusion current is dependent on the amount recombination in a p-n junction and increasing the recombination increases the forward bias current. Consequently, high recombination increases the forward bias diffusion current, which in turn reduces the open-circuit voltage. The material parameter which gives the recombination in forward bias is the diode saturation current. The recombination is controlled by the number of minority carriers at the junction edge, how fast they move away from the junction and how quickly they recombine. Consequently, the dark forward bias current, an hence the open-circuit voltage is affected by the following parameters:

The net effect of previous trade-offs is shown in the graphs below.

doping vs diffusion length

Effect of doping (ND) on diffusion length and open-circuit voltage assuming well passivated surfaces.