• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

  • About
  • Media/Pr
  • Contact
I Heart Recipes

  • Recipe Index
  • Soul Food
  • Slow Cooker
  • Dinner
  • Side Dishes
  • Dessert
  • Breakfast
  • Appetizers

  • My Latest Cookbook!
  • Rosamae Seasonings

  • About
  • Media/Pr
  • Contact
X
  • Recipe Index
  • Soul Food
  • Slow Cooker
  • Dinner
  • Side Dishes
  • Dessert
  • Breakfast
  • Appetizers
I Heart Recipes
I Heart Recipes

I Heart Recipes

Recipes You'll Love, Made Easy!

  • My Latest Cookbook!
  • Rosamae Seasonings
  • Recipe Index
  • Soul Food
  • Slow Cooker
  • Dinner
  • Side Dishes
  • Dessert
  • Breakfast
  • Appetizers
All Posts / DIY Rainbow Cupcakes

DIY Rainbow Cupcakes

Jump to Recipe Jump to Video
By Rosie Published: May 24, 2014 Updated: January 28, 2024
This post may contain affiliate links.

Rainbow cupcakes with vanilla frosting and colorful sprinkles on a white table. One cupcake is halved, showing bright layers of color.
Table of Contents
  1. Print this recipe for Rainbow Cupcakes below and let me know what you think!
  2. Homemade Rainbow Cupcakes (from scratch!)

Hey friends! In this post we are making rainbow cupcakes. We’re going to start off by making a basic yellow cake batter, then we will add a little citrus flavor to it via lemon extract. Instead of using the same red, yellow and blue, I decided to use more bold colors. I used the magenta, teal, orange and purple gel food colors.

I prefer gel colors over water/liquid colors because, in my opinion, they are more vibrant. I find that whenever I use liquid colors, my colors always dull after baking. With these gel colors, I believe the cupcakes actually brightened up after baking!

DIY Rainbow Cupcakes sprinkled with colorful candies.

Not only were these cupcakes extremely gorgeous, they were also moist! Give the recipe a try, and tell me what you think!

Rainbow cupcakes topped with a swirl of vanilla frosting and sprinkled with rainbow candies.

If you enjoyed these DIY Rainbow Cupcakes, check out some of my other cupcake recipes!

Southern Peach Cobbler Cupcakes

Banana Pudding Cupcakes

Coconut Lime Cupcakes

Print this recipe for Rainbow Cupcakes below and let me know what you think!

Homemade Rainbow Cupcakes (from scratch!)

These homemade rainbow cupcakes are made completely from scratch! They’re so moist and delicious, with vibrant colors that make them a sweet and beautiful, fun dessert.
Watch Video Print Recipe Pin Recipe
Course Dessert
Cuisine American
Keyword birthday, homemade, rainbow cupcakes
Prep Time 15 minutes minutes
Cook Time 20 minutes minutes
Total Time 35 minutes minutes
Servings 12 servings

Ingredients

Cupcakes:

  • 2 ½ cups all-purpose flour sifted
  • 1 ¾ cups granulated sugar
  • 3 eggs
  • ¾ cup vegetable oil
  • ½ tsp salt
  • 2 ½ tsp baking powder
  • 1 ¼ cups milk 2% or whole milk
  • 2 tsp vanilla extract
  • 1 ½ tsp lemon extract

Homemade Frosting:

  • 8 tbsp salted butter
  • 1 lb powdered sugar
  • 2 tsp vanilla extract
  • ¼ cup milk
  • Vibrant gel food coloring your favorite colors

Instructions

  • Sift all-purpose flour, baking powder, and salt in a bowl and mix.
  • Use a smaller bowl to create a well in the flour mixture. (This prevents you from having to use multiple bowls for your wet and dry ingredients.)
  • Add eggs, sugar, milk, and oil, and vanilla. Mix all ingredients together with a hand mixer until well-combined.
  • Add lemon extract into batter and mix until combined.
  • Divide batter equally into 4 bowls (about 1 cup eacand add the gel food coloring to each bowl. I used pink, purple, orange, and blue.
  • Line a muffin tin with cupcake liners.
  • Add about 1-2 tablespoons of each color batter to the cupcake tins at a time. Do not mix the batter to keep the layered rainbow effect when baking!
  • Leave about ¾ of an inch of room in the cupcake tins to avoid overflow when baking.
  • Bake cupcakes at 350 degrees for 15-20 minutes.
  • Allow cupcakes to cool for about an hour before icing.

Frosting:

  • Mix together softened butter, powdered sugar, vanilla extract and milk. MIx with a hand mixer until fully creamed together.
  • Use a pastry bag to pipe frosting onto cooled cupcakes.
  • Sprinkle cupcakes with rainbow sprinkles.
  • Serve and enjoy!

Video

If you loved this recipe, leave me a review below. This helps future recipe makers and ensures continued high-quality recipes for years to come!
© 2025 I Heart Recipes
Recipe by: I Heart Recipes

Don’t forget to tag and follow me on Facebook, Instagram, and Pinterest, subscribe to I Heart Recipes on YouTube, and check out I Heart Soulfood, Super Soul Food with Cousin Rosie and A Cousin Rosie Holiday with many recipes you can’t find anywhere else.

5 shares
  • Facebook
  • Twitter
  • LinkedIn

EXPLORE RECIPE CATEGORIESAll Posts, cake, Dessert

MEET THE RECIPE AUTHOR

Rosie

I’m a Soul Food blogger living in the Pacific Northwest, bringing Southern cooking to gorgeous Seattle, Washington. I was born and raised in the PNW, but my family roots go all the way to Baton Rouge, Louisiana, where my grandparents were born and raised. I live every day to bring the traditional values, recipes, and love of food to life for my family—whether they’re online or in real life. So, welcome to the party, family!

Related Recipes

  • Pink Moscato Cupcakes
  • Banana Pudding Cupcakes
    Banana Pudding Cupcakes
  • Southern Peach Cobbler Cupcakes
  • Coconut Lime Cupcakes

Free Email Guide

My favorite seasonal tips & recipes

Reader Interactions

Leave a Comment Cancel reply

Helpful comments include feedback on the recipe or changes you made.

Recipe Rating




Comments

  1. Nita says

    May 24, 2014 at 6:44 am

    Rosie, you are the best!!! I love all of your recipes. Thank you so much!!

    Reply
    • Rosie says

      May 24, 2014 at 9:08 am

      Thank you for the sweet comment Nita!

      Reply

Primary Sidebar

Hey cousins, it’s Rosie!

I’m a Soul Food blogger living in the Pacific Northwest, bringing Southern cooking to gorgeous Seattle, Washington. I was born and raised in the PNW, but my family roots go all the way to Baton Rouge, Louisiana, where my grandparents were born and raised. I live every day to bring the traditional values, recipes, and love of food to life for my family—whether they’re online or in real life. So, welcome to the party, family!

FOLLOW ALONG

  • YouTube
  • Pinterest
  • Instagram
  • Facebook
  • TikTok
  • Subscribe

Subscribe by Email

Keep up with all things Rosie & I Heart Recipes and subscribe—it’s FREE!

Order Rosie

Mayes New Cookbook

In this newest cookbook, Rosie shares the must-have recipes in her Holiday spread. Holiday favorites from mains to sides and, of course, pies and desserts—all made Cousin Rosie style.

ORDER NOW!

Learn More

Reader Favorites

Smothered Oxtail

Southern Slow Cooker Smothered Oxtails

yams

Baked Candied Yams – Soul Food Style!

Strawberry Shortcake Cheesecake

Slow Cooker Mac & Cheese

Best Slow Cooker Macaroni and Cheese Recipe

Oven Baked Barbecue Pork Chops

Tex Mex Ground Beef Skillet

Free Email Guide

My favorite seasonal tips & recipes

Footer

FOLLOW ALONG

  • YouTube
  • Pinterest
  • Instagram
  • Facebook
  • TikTok
  • Subscribe

Recipe Index

  • Appetizers
  • Breakfast
  • Dessert
  • Side Dishes
  • Slow Cooker
  • Soul Food

Resources

  • Subscribe by Email
  • Join on Facebook
  • Contact
  • Privacy Policy

About

  • Meet Rosie Mayes
  • Rosamae Seasonings
  • Super Soul Food Cookbook
  • I Heart Soul Food Cookbook
  • Let’s Work Together!

© 2025 I Heart Recipes  Â·  All Rights Reserved  Â·  Website Design by Anchored Design

5 shares