She spoke in a gentle voice.

Literal

She [topic-は] gentle voice [with-で] spoke.

優しい声で — で marks the instrument/manner. 優しい声 ('gentle voice') is a common collocation.