Print

Lucky Rainbow Cupcakes

Colorful rainbow swirl cupcakes with vanilla frosting and rainbow sprinkles.

5 Stars 4 Stars 3 Stars 2 Stars 1 Star

No reviews

These vibrant cupcakes feature a soft vanilla cake swirled with rainbow colors and topped with fluffy vanilla frosting. Perfect for St. Patrick’s Day or any celebration, they are surprisingly simple to make and guaranteed to bring joy.

Ingredients

Scale
  • 1 1/2 cups (190g) all-purpose flour
  • 1 1/2 teaspoons baking powder
  • 1/4 teaspoon salt
  • 1/2 cup (115g) unsalted butter, softened
  • 1 cup (200g) granulated sugar
  • 2 large eggs, room temperature
  • 2 teaspoons pure vanilla extract
  • 1/2 cup (120ml) whole milk, room temperature
  • Gel food coloring in red, orange, yellow, green, blue, purple
  • 1 cup (230g) unsalted butter, softened
  • 4 cups (480g) confectioners’ sugar, sifted
  • 3-4 tablespoons heavy cream or whole milk
  • 2 teaspoons pure vanilla extract
  • Pinch of salt

Instructions

  1. Preheat oven to 350°F (175°C). Line a 12-cup muffin tin with liners.
  2. Whisk flour, baking powder, and salt in a medium bowl.
  3. In a large bowl, beat softened butter and granulated sugar until light and fluffy, 2-3 minutes.
  4. Beat in eggs one at a time, then mix in vanilla extract.
  5. With mixer on low, add flour mixture in three parts, alternating with milk, mixing just until combined.
  6. Divide batter evenly among six small bowls. Color each with a different gel food coloring.
  7. Spoon small amounts of each colored batter into liners, layering in rainbow order. Fill each liner 2/3 full.
  8. Bake 18-20 minutes, until a toothpick inserted comes out clean. Cool in pan 5 minutes, then transfer to a wire rack to cool completely.
  9. For frosting, beat softened butter until smooth. Gradually add confectioners’ sugar on low speed.
  10. Add vanilla, salt, and 3 tablespoons cream. Beat on high until fluffy, adding more cream if needed.
  11. Frost cooled cupcakes. Decorate with sprinkles if desired.

Notes

Use gel food coloring for vibrant colors without thinning batter. Ensure cupcakes are completely cool before frosting. Unfrosted cupcakes freeze well for up to 3 months.

Nutrition