Pin My neighbor knocked on my door one April afternoon with a box of pastel decorations left over from her daughter's baby shower, asking if I could use them. That single moment sparked the idea for this cake—something that captures that exact feeling of springtime optimism and unabashed celebration. The combination of a tender vanilla cake studded with rainbow sprinkles, paired with swirls of soft pastel buttercream, became my answer to her question. Now whenever someone needs a cake that feels both joyful and elegant, this is what I reach for. It's the kind of dessert that makes people smile before they even taste it.
I made this for my coworker's birthday last May, and watching her face when she saw those pastel swirls was genuinely priceless. The whole office smelled like vanilla and butter for hours afterward, and three different people asked for the recipe before we'd even cut into it. It turned an ordinary Thursday into something special, which I think is exactly what a good celebration cake should do.
What's for Dinner Tonight? 🤔
Stop stressing. Get 10 fast recipes that actually work on busy nights.
Free. No spam. Just easy meals.
Ingredients
- All-purpose flour (2 1/2 cups): Measure by spooning into your measuring cup and leveling off rather than scooping directly from the bag, which prevents packing and ensures a lighter crumb.
- Baking powder and baking soda (2 1/2 tsp and 1/2 tsp): These work together to give the cake lift and a tender, delicate structure that won't feel dense or heavy.
- Unsalted butter (1 cup for cake, 1 1/2 cups for frosting): Room temperature butter creams into the sugar much more easily and creates a fluffy base that holds air.
- Granulated sugar (1 1/2 cups): This sweetness gets balanced by the tang from sour cream, preventing the cake from tasting one-dimensional or cloying.
- Eggs (4 large): Room temperature eggs emulsify smoothly into the batter and create a tender structure; cold eggs can curdle the mixture.
- Pure vanilla extract (2 tsp for cake, 2 tsp for frosting): The good stuff makes all the difference in flavor depth and warmth.
- Whole milk and sour cream (1 cup and 1/2 cup): The combination of both creates a moistness that lasts, with the sour cream adding subtle tang and tenderness.
- Rainbow sprinkles or jimmies (2/3 cup): Use jimmies specifically, not nonpareils, because they're longer and less likely to dissolve or color-bleed into the batter during mixing.
- Powdered sugar (5 cups, sifted): Sifting removes lumps so your buttercream becomes smooth and pipeable rather than gritty.
- Pastel food coloring gels (pink, blue, yellow, purple): Gels are more concentrated than liquid coloring, so you use less liquid overall and won't thin out your frosting.
Tired of Takeout? 🥡
Get 10 meals you can make faster than delivery arrives. Seriously.
One email. No spam. Unsubscribe anytime.
Instructions
- Prep your pans and preheat:
- Heat your oven to 350°F and line two 9-inch round pans with parchment circles, then grease the sides generously. This takes just five minutes but saves you from cake sticking to the pan and breaking apart when you flip it onto the cooling rack.
- Combine your dry ingredients:
- Whisk flour, baking powder, baking soda, and salt together in a medium bowl so they're evenly distributed throughout. You'll see and hear the mixture become lighter and more uniform as you whisk, which means the leavening agents are ready to do their job.
- Cream butter and sugar until fluffy:
- Beat room temperature butter and sugar together for about three minutes until it's pale and fluffy enough to hold peaks when you lift the beaters. This step incorporates air into the batter, which creates the tender crumb you're aiming for.
- Add eggs one at a time:
- After each egg addition, beat well so it emulsifies into the butter mixture before adding the next one. If you add all the eggs at once, the batter can look separated and broken, though it usually comes back together once you add flour.
- Mix in vanilla extract:
- Stir this in after the last egg beats in completely.
- Prepare your milk mixture:
- Whisk whole milk and sour cream together in a separate bowl until they're combined and smooth.
- Alternate flour and milk mixtures:
- Add them in three parts, beginning and ending with flour, so the batter stays stable and doesn't separate. Mix gently on low speed just until you don't see streaks of flour anymore, because overmixing develops gluten and makes the cake tough.
- Gently fold in sprinkles:
- Use a spatula to fold in the rainbow jimmies slowly so they distribute throughout without breaking apart. The motion feels almost meditative, and you want to maintain as much lightness in the batter as possible.
- Fill your pans and smooth the tops:
- Divide the batter evenly between the two pans and smooth the tops with a spatula so they bake evenly.
- Bake until golden:
- Bake for 28 to 32 minutes, checking for doneness by inserting a toothpick into the center. When it comes out clean or with just a few moist crumbs, your cakes are done.
- Cool in the pans first:
- Let them rest in the pans for about 10 minutes before turning them out onto a wire rack. This resting time lets the structure set slightly so they won't break apart when you flip them.
- Cool completely on the rack:
- This usually takes about an hour, though you can speed this up by placing the racks in a cool spot or near a fan.
- Cream the butter for frosting:
- Beat room temperature butter for about two minutes until it's completely smooth and pale. Lumps of cold butter will create an uneven texture in your final frosting.
- Add powdered sugar gradually:
- Mix it in on low speed so it doesn't cloud up your entire kitchen, adding it in three or four additions and mixing between each.
- Add milk, vanilla, and salt:
- Beat on high for two to three minutes until the frosting becomes fluffy and light enough that you could eat it with a spoon. This beating incorporates air and creates that cloud-like texture.
- Tint your buttercream:
- Divide the frosting into four bowls and add a small dab of pastel gel coloring to each, stirring until you reach your desired shade. Gel coloring is potent, so start with less than you think you need.
- Decorate with swirls:
- Spread or pipe each color onto the cooled cake layers, swirling them together with a spatula or knife to create that marbled pastel effect. There's no right way to do this, so embrace whatever patterns naturally form as you work.
Pin
There's a moment that happens every time I frost this cake where the pastel colors swirl together on the cake layers, and it genuinely feels like spring is happening in my kitchen. My kids once decorated their own small version with the leftover frosting, and they were so focused and careful, treating those colored dollops like edible artwork. That's when this cake stopped being just a recipe in my head and became something my family asks for by name.
Still Scrolling? You'll Love This 👇
Our best 20-minute dinners in one free pack — tried and tested by thousands.
Trusted by 10,000+ home cooks.
Why Room Temperature Ingredients Matter So Much
The first time I skipped the room temperature step because I was in a hurry, I ended up with a batter that looked separated and curdled, and honestly, I almost threw it out. But I baked it anyway, and the result was surprisingly decent, though definitely denser and less tender than usual. Now I always plan ahead and let everything sit on the counter for about an hour before I start, which honestly takes less time than waiting for the cake to cool and frost anyway.
The Sprinkles Make or Break Everything
I learned this lesson the hard way when I used whatever rainbow sprinkles were on sale at the grocery store and ended up with a gray-speckled cake that looked like it had been left in a rainstorm. The food coloring in cheap sprinkles migrates into the batter and creates this sad, muddy effect. Now I'm religious about buying jimmies specifically, usually from King Arthur or Wilton brands, and I check the ingredient list to make sure they use real food coloring rather than artificial dyes that bleed.
Decorating Techniques That Transform a Simple Cake
One quiet Saturday morning, I realized that how you apply the buttercream changes the entire personality of the cake. Thick dollops of different colors swirled together feels playful and casual, while piped rosettes look elegant enough for a formal event. You could even do a simple crumb coat in white and then pipe pastel stripes, or layer the colors in bands for a rainbow effect.
- If you're piping, use a large open star tip to create texture, or a round tip if you want cleaner, more controlled lines.
- Let the frosting sit for a minute between colors so the layers don't blend into a muddy mixture, and use a clean spatula or knife between each new color.
- If you mess up, just keep smoothing and swirling because the imperfections actually add to the whimsical, celebratory feeling.
Pin This cake has become my go-to for any celebration that needs a little extra joy, and I love that it feels special without requiring any fancy techniques. Make it once, and you'll understand why it keeps getting requested.
Recipe Questions & Answers
- → What gives the cake its vibrant colors?
Rainbow sprinkles folded gently into the batter provide bursts of color throughout the cake.
- → How is the pastel effect achieved in the buttercream?
Buttercream is divided into four portions and tinted with pastel pink, blue, yellow, and purple food gels before swirling together on the cake.
- → Can I substitute any ingredients for dietary preferences?
Greek yogurt can replace sour cream as a moistening agent without affecting texture significantly.
- → What is the recommended baking time for cupcakes?
Cupcakes should be baked for 22 to 24 minutes, slightly less than the full cake layers.
- → What tools are essential for assembling the cake?
Two 9-inch round pans, an electric mixer, mixing bowls, and an offset spatula or piping bags for decorating are recommended.
- → How can I avoid color bleeding in the sprinkles?
Using high-quality jimmies sprinkles helps maintain vibrant colors without bleeding during baking.