Freeze the jam. Line a small baking sheet with parchment. Drop 20 level 1-tsp dollops of plum jam (7g each) onto it, spaced apart. Freeze for at least 1 hour, until firm.
Mix the dry ingredients. In a medium bowl, whisk together the flour, baking powder, baking soda and salt. Set aside.
Cream the butter and sugar. Beat the butter and 1¼ cups (250g) of sugar on medium speed for 2–3 minutes, until light and fluffy. Scrape down the bowl.
Add the wet ingredients. Beat in the egg, egg yolk and vanilla until combined.
Bring the dough together. On low speed, add the dry ingredients and mix until no dry streaks remain. Don't overmix.
Chill the dough. Cover and refrigerate for 30 minutes. The dough is soft, and chilling it makes it much easier to wrap around the filling.
Make the purple sugar (if DIY). Put the granulated sugar in a small bowl, add 1 drop of gel coloring and rub it in with your fingertips or a fork until the color is even. Add a second drop if you want it deeper. Spread the sugar in a shallow bowl.
Portion the dough. Line two baking sheets with parchment. Scoop the dough into 20 balls of about 3 tbsp (45g) each.
Stuff the cookies. Flatten one dough ball into a disc in your palm and set a frozen jam dollop in the center. Fold the dough up around it and pinch the seam closed so no jam shows. Roll it into a smooth ball, then roll it generously in the purple sugar. Pull only a few dollops from the freezer at a time so they stay firm.
Chill the shaped cookies. Put 10 cookies on each sheet and freeze for 15 minutes. Meanwhile, preheat the oven to 350°F (175°C).
Bake. Bake one sheet at a time for 11–13 minutes, until the edges are set and the centers look puffy and slightly underdone. Let the cookies rest on the sheet for 5 minutes, then move them to a wire rack to cool completely. The jam is molten straight out of the oven.