We’re not lying when we say this dessert is magical. The cake recipe is absurdly moist and tender. And the pastel frosting? It’s basically the silky smooth love child of Swiss meringue buttercream and whipped cream. Also, the icing is substantially less sweet than the traditional butter and icing sugar mixture, so you can eat more than one slice. Plus those rainbow sprinkles! So, yeah, it’s straight-up magical.

Confetti Sheet Cake With Magic Pastel Frosting

Prep Time: 15 minutes
Cook Time: 45 minutes
Cool Time: 1 hour
Total Time: 2 hours
Servings: 10 to 12

Ingredients:

Cake
2 1/3 cups all-purpose flour
2 ¼ tsp baking powder
1 tsp salt
3 eggs, room temperature
3 egg whites (here’s an idea on what to do with the extra 3 yolks!)

1 ¾ cups granulated sugar
2 tsp vanilla
1 cup whole milk or 2% milk
½ cup unsalted butter, cubed
¼ cup vegetable oil
4 Tbsp rainbow sprinkles

Frosting
1/3 cup all-purpose flour
¾ cup whole milk or 2% milk
2/3 cup granulated sugar
¼ tsp salt
¾ cup unsalted butter, cubed and softened
Gel food colouring
2 tsp rainbow sprinkles

Directions:

1. Preheat oven to 325°F. Spray a 9 x 13-inch baking pan with cooking spray and line with parchment paper with slight overhang on the long sides.

2. In bowl, whisk together flour, baking powder and salt.

3. In bowl of stand mixer fitted with a whisk attachment, beat eggs, egg whites, sugar and vanilla on medium-high speed until thick and batter falls into a ribbon pattern, 3 to 4 minutes. Stir in flour mixture until just combined.

Related: The Easiest Sheet Pan Dessert Recipes to Feed Your Family

4. Meanwhile, heat milk in small saucepan over medium-low heat until just hot. Remove from heat; stir in butter and oil until melted. Stir into flour mixture until just combined. Stir in sprinkles.

5. Scrape batter into prepared pan, spreading evenly. Bake until edges are lightly brown and a toothpick inserted into centre of the cake comes out clean, about 45 minutes. Let cool in pan 15 minutes. Transfer to rack right side up and let cool completely, 45 minutes.

6. In medium saucepan, whisk together flour and milk for the frosting, until smooth. Place over medium heat and whisk constantly until thickened, about 2 minutes. Remove from heat; whisk in sugar and salt. Scrape into a wide shallow plate to cool (stir until slightly warm).

Related: The Price of a Slice: Breaking Down the Costs of Cake

7. Beat butter in bowl of standing mixer fitted with paddle attachment on medium-low for about 5 minutes. Scrape the bottom; beat 1 minute. Gradually add cooled flour mixture, 2 spoonfuls at a time on medium-low until combined. Scrape bottom; beat until smooth.

8. Switch to whisk attachment and whip on low just to combine. Increase speed to medium-high and whip until silky and light. Frosting should have an airy consistency. Add desired food colour, stirring until incorporated. Spread on cake immediately with offset spatula to create swoops and pipe shapes (if desired) using a piping bag fitted with a star or crown piping tip. Add rainbow sprinkles.

Tip: Don’t be alarmed if the frosting feels stiff or looks curdled, your flour mixture was likely too cold. To warm, set the mixing bowl over a pot of simmering water until the edges start to melt; then rewhip. If the frosting looks loose, it’s likely too warm. Refrigerate for 10 minutes, stir and then rewhip until silky.

Tip: When using gel food colouring, use the end of a toothpick to dip into colour and then into frosting. Stir or whip until combined and repeat if needed for desired colour. A little goes a long way.

Want more fun, colourful baking recipes? Try these white chocolate funfetti cookies or these perfect lemon meringue cupcakes.