While granulated sugar is preferable for its ability to create a smooth, clear syrup, powdered sugar can be used in a pinch. However, it might make the candy a bit cloudier due to the cornstarch present in powdered sugar.