Ube Cake Recipe: The Stunning Purple Cake
In this article
Ube cake is a Filipino classic that has exploded on social media for its vivid purple crumb and subtle, nutty-sweet flavor. Made with ube halaya (mashed purple yam jam) and ube extract, this cake is moist, tender, and undeniably eye-catching. It works because the ube’s natural color needs no artificial dye, and the flavor is gentle enough for everyone while still being distinctly exotic.
Ingredients
- For the cake:
- 2 ½ cups (315g) all-purpose flour
- 2 ½ teaspoons baking powder
- ½ teaspoon salt
- ¾ cup (170g) unsalted butter, softened
- 1 ¾ cups (350g) granulated sugar
- 3 large eggs, room temperature
- 1 cup (240ml) whole milk, room temperature
- ½ cup (120g) ube halaya (store-bought or homemade)
- 1 teaspoon ube extract (or 2 teaspoons if you want a stronger color/flavor)
- 1 teaspoon vanilla extract
- For the frosting:
- 1 cup (226g) unsalted butter, softened
- 4 cups (480g) powdered sugar, sifted
- ¼ cup (60ml) heavy cream
- 2 tablespoons ube halaya
- 1 teaspoon ube extract
- Pinch of salt
Instructions
- Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, or line the bottoms with parchment paper.
- In a medium bowl, whisk together the flour, baking powder, and salt. Set aside.
- In a large bowl, beat the butter and sugar with an electric mixer on medium speed until light and fluffy, about 3-4 minutes. Scrape down the sides as needed.
- Add the eggs one at a time, beating well after each addition. Beat in the ube halaya, ube extract, and vanilla extract until fully combined. The batter will look purple and slightly streaky—that’s fine.
- With the mixer on low speed, add the dry ingredients in three additions, alternating with the milk in two additions. Start and end with the dry ingredients. Mix just until no streaks of flour remain; do not overmix.
- Divide the batter evenly between the prepared pans. Smooth the tops with a spatula.
- Bake for 25-30 minutes, or until a toothpick inserted into the center comes out clean. The tops should spring back when lightly pressed.
- Let the cakes cool in the pans for 10 minutes, then turn them out onto a wire rack to cool completely. This is crucial—frosting a warm cake will melt the frosting.
- While the cakes cool, make the frosting. Beat the butter on medium speed until smooth and creamy, about 2 minutes. Gradually add the powdered sugar, one cup at a time, beating on low speed until incorporated. Add the heavy cream, ube halaya, ube extract, and salt. Beat on medium-high for 2-3 minutes until light and fluffy. If the frosting is too thick, add a splash more cream; if too thin, add more powdered sugar.
- Once the cakes are completely cool, level the tops with a serrated knife if they domed. Place one layer on a serving plate, spread a generous amount of frosting on top, then place the second layer on top. Frost the top and sides with the remaining frosting. For a smooth finish, use a bench scraper or offset spatula.
- Slice and serve. The cake is best at room temperature.
Tips
- Ube halaya vs. ube extract: Ube halaya is a sweetened jam that adds moisture and flavor; ube extract is a concentrated flavoring that gives a more intense purple color. You need both for the best result. If you can’t find ube extract, you can use purple food coloring, but the flavor will be less authentic.
- Room temperature ingredients: Butter, eggs, and milk should be at room temperature so the batter emulsifies properly. Cold ingredients can cause the batter to curdle, leading to a denser cake.
- Don’t overmix: Once you add the flour, mix just until combined. Overmixing develops gluten, which makes the cake tough instead of tender.
- Make it ahead: The cake layers can be baked a day ahead, wrapped tightly in plastic wrap, and kept at room temperature. The frosting can also be made ahead and refrigerated for up to 3 days—just bring it to room temperature and re-whip before using.
Serving Suggestions
Serve this ube cake as a show-stopping dessert at parties, birthdays, or any celebration. It pairs beautifully with a cup of hot tea or coffee. For a more indulgent treat, add a scoop of vanilla or coconut ice cream on the side. You can also dust the top with a little powdered sugar or sprinkle with toasted coconut flakes for extra texture.
Variations
- Ube Cupcakes: Divide the batter into a lined muffin tin (about 2/3 full) and bake for 18-20 minutes. Frost as desired.
- Ube Layer Cake with Coconut: Add ½ cup of shredded coconut to the cake batter and fold in. Use coconut milk instead of whole milk for a more tropical flavor.
- Ube Cheesecake Swirl: Before baking, dollop ½ cup of cream cheese mixture (8 oz cream cheese, ¼ cup sugar, 1 egg) over the batter and swirl with a knife for a marbled effect.
- Gluten-Free Ube Cake: Substitute the all-purpose flour with a 1:1 gluten-free baking flour blend. The texture may be slightly more crumbly, but it will still be delicious.
Storage and Reheating
Store frosted ube cake in an airtight container in the refrigerator for up to 5 days. Because the frosting contains butter and cream, it should be refrigerated if not consumed within a few hours. Let the cake sit at room temperature for 30-45 minutes before serving to soften the frosting and bring out the flavor. Unfrosted cake layers can be wrapped tightly and frozen for up to 2 months; thaw in the refrigerator overnight before frosting. To reheat individual slices, microwave for 10-15 seconds—but note that the frosting will melt, so it’s best to reheat only unfrosted pieces.
Frequently Asked Questions
What is ube?
Ube is a purple yam native to the Philippines. It has a sweet, nutty flavor similar to a combination of vanilla and pistachio. It’s commonly used in desserts like ube halaya, ube ice cream, and ube cake.
Can I use ube powder instead of ube halaya?
Yes, but you’ll need to adjust the liquid. Ube powder is dehydrated; to replace ½ cup of halaya, mix 3 tablespoons of ube powder with ¼ cup of hot water to form a paste. Let it cool before using. You may also need to add a bit more milk to the batter to maintain the same moisture level.
Why is my ube cake not purple enough?
The intensity of purple depends on the quality and amount of ube extract and halaya. If the color is too pale, add an extra teaspoon of ube extract. You can also add a drop of purple food coloring, but that’s not necessary if you use a good-quality extract.
Can I make this cake without eggs?
You can substitute each egg with ¼ cup of unsweetened applesauce or a commercial egg replacer. The cake will be slightly less fluffy but still tasty. Note that the texture may be more dense.
How do I prevent the cake from sticking to the pan?
Grease the pans thoroughly with butter or non-stick spray, then dust with flour and tap out the excess. Alternatively, line the bottom with parchment paper—this is the most reliable method.
Can I use this recipe for a sheet cake?
Yes, you can bake the batter in a 9x13-inch pan. The baking time will be longer—about 35-40 minutes. Check for doneness with a toothpick. You can also use the same frosting recipe.