You have to use the ac ratings.
However, you can exceed them within reason.
Some say the life of a capacitor follows the 15th power of the voltage. (when compared to the manufacture's MTBF and ratings.) others have said the 20th power. (film capacitors intended for pulse duty)