What You Need
For the Cake
- ½ cup/110 grams unsalted butter (1 stick), slightly softened, more for pans
- 1 ½ cups/190 grams all-purpose flour, more for pans
- 1 teaspoon baking powder
- ¼ teaspoon baking soda
- ¼ teaspoon fine salt
- ⅔ cup/158 milliliters whole milk
- 1 ½ teaspoons pure vanilla extract
- 1 cup/200 grams sugar
- 1 whole egg plus 2 egg whites
- ⅓ cup rainbow sprinkles (not pastel, or naturally colored
For the Frosting
- 8 ounces/225 grams cream cheese, slightly softened
- ½ cup/110 grams unsalted butter (1 stick), slightly softened
- ⅛ teaspoon fine salt, more to taste
- 3 cups/300 grams confectioners’ sugar, sifted, more to taste
- ½ teaspoon pure vanilla extract
- 1 cup rainbow sprinkles (see note)
How to Make It
- Make the cake: Heat oven to 325 degrees and place a rack in the center. Butter and line the bottoms of two 8-inch round cake pans with parchment paper. Butter the parchment. Flour the pans, coating the bottom and sides, then tap out any excess flour.
- In a medium bowl, whisk together flour, baking powder, baking soda and salt. In a small bowl, stir together milk and vanilla.
- In a mixer fitted with the paddle attachment, beat butter and sugar at medium-high speed until light and fluffy, 2 to 3 minutes. Reduce speed to low and, with mixer running, slowly add egg and whites and beat until smooth and creamy, 1 to 2 minutes. Scrape down bowl. Add half the flour mixture, then the milk mixture, then the remaining flour mixture, beating to blend after each addition. Scrape down bowl and blend once more. Remove bowl and use a spatula or spoon to mix in sprinkles by hand.
- Divide batter evenly between the pans and bake until the tops are just dry to the touch and a toothpick inserted into the center comes out clean, 20 to 25 minutes. Rotate the pans halfway through baking.
- Transfer pans to a wire rack and let cool completely, at least 4 hours, before turning out.
- Make the frosting: In a mixer fitted with the paddle attachment, beat cream cheese, butter and salt together at medium speed until light and fluffy, 2 minutes. Reduce speed to low and, with mixer running, slowly add sugar and beat until smooth. Beat in vanilla just until incorporated. Taste frosting; you should be able to taste the cream cheese and a little bit of saltiness, as well as the sweetness. If desired, add more salt or sugar. Keep refrigerated.
- Turn cooled cakes out of pans. Using a bread knife, cut off any domed or uneven parts of each cake to make flat surfaces. Place one of the cakes on a platter or a cake stand, cut side up. Using an offset spatula, frost the top. Stack the other layer on top, cut side down. Place remaining frosting on top of the cake and, working from the center outward, frost the top and sides of the cake.
- Place a baking sheet under the platter or cake stand, to catch any fallen sprinkles. Sprinkle the top with a layer of sprinkles. Toss remaining sprinkles at the sides of the cake, or press handfuls of sprinkles gently up the sides to make a thicker coating. Gather fallen sprinkles and repeat until coated to your liking.
- Refrigerate cake 30 minutes or longer to set. Serve cool with hot or iced coffee!