Purwakarta is generally a safe place for solo female travelers. The locals are welcoming and the crime rate is relatively low. However, just like anywhere else, it's advisable to be cautious, especially at night. Avoid isolated areas and be aware of your surroundings. Understand the local culture and abide by its norms, and travel insurance is always a good idea to cover any unforeseen events.