Purple Sweet Potato Haupia Pie Recipe: Tropical Coconut Custard with Vibrant Purple Swirls

Desserts

Purple Sweet Potato Haupia Pie Recipe: Tropical Coconut Custard with Vibrant Purple Swirls

This purple sweet potato haupia pie transforms a classic dessert into a tropical masterpiece with vibrant purple swirls and creamy coconut custard. The rich, earthy sweetness of purple sweet potatoes pairs perfectly with the delicate, floral notes of haupia—creating a texture that's both silky and subtly firm. I developed this recipe after craving something that balanced comfort food with exotic flavors, and it became an instant crowd favorite at family gatherings.

The secret lies in the layers: a buttery, flaky crust anchors the pie, while the sweet potato filling infuses every bite with natural sweetness and vibrant color. The haupia layer, made with coconut milk and agar-agar, adds a luscious, jelly-like texture that contrasts beautifully with the tender filling.

Baking techniques ensure the crust stays crisp while the filling remains moist, and the final touch of toasted coconut adds a nutty crunch.

What makes this pie truly special is how it delivers restaurant-quality results with a home-cooked feel. The purple hue isn't just for show—it signals a deeper, nuttier flavor profile than traditional orange sweet potatoes.

Each slice offers a harmonious blend of spiced sweetness, creamy haupia, and the perfect balance of textures. It's elegant enough for special occasions but simple enough for weeknight desserts.

While this recipe is vegetarian, you can easily adapt it to vegan by using plant-based butter and coconut milk throughout. Serve it warm with a scoop of coconut ice cream or chilled for a refreshing treat.

The tropical coconut-haupia twist sets this pie apart from ordinary sweet potato desserts, making it a standout for any celebration.

👨‍🍳
Difficulty
Medium
🌿
Diet
Vegetarian
🔥
Calories
Med Cal

Ingredients for purple sweet potato pie haupia

Fifteen ingredients craft this tropical pie with vibrant purple swirls and creamy coconut custard layers.

Ingredient Amount Notes
Purple Sweet Potatoes 🍠 2 ½ lbs Peeled, cubed (about 4 cups)
All-Purpose Flour 🌾 2 ½ cups For pie crust (plus extra for dusting)
Unsalted Butter 🧈 1 cup Cold, cubed (vegetarian-grade)
Coconut Milk 🥥 2 cans Full-fat, 13.5 oz each (for haupia)
Agar-Agar Powder 🍃 ½ oz For haupia setting agent
Granulated Sugar 🍚 1 ½ cups Plus 0.5 cup for haupia
Brown Sugar 🍚 ½ cup Packed, for filling
Large Eggs 🥚 2 whole For filling (vegetarian)
Vanilla Extract 🌿 2 tsp Pure, high-quality
Ground Cinnamon 🌶️ 2 tsp Freshly ground preferred
Ground Nutmeg 🌶️ ½ tsp Freshly grated nutmeg
Salt 🧂 ½ tsp Fine sea salt
Toasted Coconut Flakes 🥥 ¼ cup For topping (unsweetened)
Lemon Juice 🍋 1 tbsp Freshly squeezed

The purple sweet potatoes are the heart of this pie—look for vibrant, firm tubers at specialty markets or well-stocked grocery stores. Trader Joe's and Whole Foods often carry them, but Asian markets are your best bet for authentic varieties. Avoid any with soft spots or dull purple coloring. For the coconut milk, full-fat cans create the richest haupia texture—Thai Kitchen or Native Forest brands work perfectly. Agar-agar is key for that signature jelly-like haupia layer; check the international aisle if your regular store doesn't stock it.

No purple sweet potatoes? Regular orange sweet potatoes work in a pinch, though the color will be less dramatic. Substitute agar-agar with gelatin (vegetarian type) at half the amount if needed, but the texture won't be identical. For the crust, shortening can replace half the butter if you prefer extra flakiness. The vanilla extract should be pure—imitation extracts lack the depth this recipe deserves. Need to reduce sugar? Cut by 2 tbsp total and add 1 tbsp unsweetened applesauce to the filling for moisture. The toasted coconut flakes can be homemade by baking regular flakes at 350°F for 8-10 minutes until golden.

Store the pie crust separately in the fridge for up to 3 days before assembly. Once baked, keep the pie at room temperature for 4 hours before slicing to let the haupia set properly. Refrigerate leftovers for 5 days—the flavors actually improve overnight as the coconut custard thickens. For make-ahead prep, bake the filling mixture in a pie dish without the crust, then add the crust and bake again before serving. The haupia layer freezes beautifully for 3 months if stored in an airtight container with parchment between layers.

❤️

Why You'll Love This Recipe

  • No Boil-Over Chaos: The agar-agar powder turns this into a foolproof custard—no watery mess, no burnt bottoms. Just simmer, pour, and let it set. Honestly, I’ve made haupia before where the texture was questionable, but this? Silky every time.
  • Velvet Purple Magic: That deep, earthy sweetness of purple sweet potatoes meets creamy coconut milk—it’s like dessert and comfort food had a lovechild. The butter in the crust? Rich enough to make you forget it’s "healthy."
  • Party in a Jar: Slice it for potlucks, pack it for picnics, or serve it at family gatherings. The agar-agar keeps it firm enough to cut with a spoon, so no one’s left holding a wobbly dessert. (Yes, even on a Tuesday night.)
  • Budget-Friendly Luxury: Purple sweet potatoes are cheaper than regular yams, and coconut milk stretches further than you’d think. Plus, leftovers? They last forever in the fridge—perfect for when you bake once and eat twice.

Step-by-step instructions for purple sweet potato haupia pie

Assemble this vibrant pie with tropical coconut custard and rich purple sweet potato filling.

1

Prepare the Sweet Potato Filling

Preheat your oven to 375°F. Peel and cube the 2.5 lbs purple sweet potatoes into ½-inch pieces (about 4 cups). Spread them on a baking sheet and roast for 25-30 minutes until fork-tender and slightly caramelized. You'll know they're done when they yield easily to pressure and have deep purple coloration.

Transfer the roasted sweet potatoes to a mixing bowl. Add ½ cup brown sugar, 1 tbsp lemon juice, 1 tsp cinnamon, ¼ tsp nutmeg, and ¼ tsp salt. Mash until smooth but still slightly textured—this ensures proper layering in the pie. Let cool completely before using, as warm filling can melt the crust prematurely.

2

Make the Haupia Coconut Custard

In a saucepan, combine 2 cans coconut milk, ½ cup granulated sugar, 1 tsp vanilla extract, and 0.5 oz agar-agar powder. Whisk constantly over medium heat until the mixture reaches a gentle boil. The agar-agar needs to fully dissolve, so keep stirring for 5-7 minutes until thickened to a pudding-like consistency.

Remove from heat and let cool to room temperature. Stir in 2 whole large eggs one at a time, whisking until fully incorporated. The mixture should be smooth and glossy. Pour into a separate bowl and refrigerate until completely chilled—this step is crucial for proper setting in the pie.

3

Assemble the Pie Crust

In a food processor, pulse 2.5 cups all-purpose flour with ½ tsp salt until combined. Cut in 1 cup cold cubed unsalted butter until the mixture resembles coarse crumbs. Add 2-3 tablespoons ice water and pulse until the dough just comes together. Shape into a disk, wrap in plastic, and chill for 30 minutes.

Roll out the chilled dough on a floured surface to fit a 9-inch pie dish. Press it into the bottom and up the sides, creating a ½-inch overhang. Trim the excess, then crimp the edges with a fork. Blind-bake the crust at 375°F for 15 minutes using pie weights or dried beans to prevent puffing. Remove weights and bake 5 more minutes until lightly golden.

4

Layer and Bake the Pie

Spread the cooled sweet potato filling evenly over the baked crust. Pour the chilled haupia custard over the filling, creating gentle swirls with a knife for that signature tropical presentation. Sprinkle ¼ cup toasted coconut flakes evenly over the top, pressing lightly so they adhere.

Bake at 350°F for 40-45 minutes until the filling is set and the coconut topping is golden. The center should jiggle slightly when shaken, but the edges should be firm. Let cool completely at room temperature before slicing—this allows the custard to fully set and prevents a runny filling.

5

Serve with Proper Resting

Once cooled, transfer the pie to the refrigerator and chill for at least 4 hours, preferably overnight. This resting period develops the flavors and ensures clean slices. Serve chilled with a dollop of whipped coconut cream or a sprinkle of additional toasted coconut flakes for extra texture.

The pie should have a vibrant purple hue from the sweet potatoes, a creamy haupia layer with coconut aroma, and a buttery, flaky crust. Each bite delivers the perfect balance of tropical sweetness and warm spice—ideal for special occasions or dessert lovers seeking something truly unique.

👨‍🍳

Pro Tips For Making Purple Sweet Potato Pie Haupia

  • Boil Sweet Potatoes Till Fork-Tender: Purple sweet potatoes are stubborn—don’t stop at softness. Poke with a fork; if it glides in like butter, you’re good. Undercooked ones turn to mush in the filling, and overcooked ones lose their vibrant color. (Yes, even if you’re impatient like me.)
  • Sift Agar-Agar Like You Mean It: Clumps in agar-agar ruin the texture—it’ll turn your haupia grainy instead of silky. Sift it through a fine-mesh sieve into cold water first, then whisk like your life depends on it. I learned this the hard way after scraping gummy bits off my teeth.
  • Butter the Crust in Two Layers: Cold butter in the crust? Skip it. Melt half the butter first, brush it on, then sprinkle flour—this keeps the crust crispy without turning it into a sad, greasy brick. The rest goes into the filling where it belongs. Trust me, your pie will thank you.
  • Strain That Coconut Milk: Canned coconut milk leaves a gritty aftertaste that clashes with the sweet potatoes. Strain it through a cheesecloth-lined sieve before using—it’s extra work, but the smoothness makes a real difference. (Your future self will notice the difference.)

Flavor customization for this purple sweet potato pie haupia

Spice Level Control

Adjust the warmth by tweaking the spices in the sweet potato filling. For a mild version, reduce cinnamon to 1 tsp and nutmeg to ¼ tsp, then add ½ tsp ground cardamom for a floral note.

For medium heat, keep the original spices but add ¼ tsp freshly grated ginger. For bold spice, increase cinnamon to 1.5 tsp and nutmeg to ½ tsp, then add ½ tsp cayenne pepper—trust me, the purple hue hides the heat beautifully! 🌶️

Tropical Fruit Swirls

Replace the haupia layer with passion fruit curd for a tangy twist. Mix 2 cups passion fruit pulp with ½ cup sugar, 2 egg yolks, and 1 tbsp cornstarch, then cook until thickened.

For a mango haupia, blend 2 cups ripe mango purée with 1 can coconut milk, ½ cup sugar, and 1 tsp agar-agar, then chill until set. These fruity variations add vibrant color and bright acidity that cuts through the sweetness.

Coconut Variations

Swap the toasted coconut flakes for shredded young coconut on top for extra texture. For a creamy coconut whipped layer, whip 1 can chilled coconut cream with 2 tbsp powdered sugar until fluffy, then spread over the cooled pie.

Alternatively, add ½ cup crushed macadamia nuts to the haupia mixture for a nutty depth—this works especially well with the purple sweet potato's earthy notes. 🥥

Chocolate Haupia Twist

Transform this into a chocolate haupia pie by adding ¼ cup cocoa powder to the haupia mixture. For a white chocolate version, use ½ cup white chocolate chips melted into the coconut milk before setting.

The contrast of chocolate with the sweet potato's natural sweetness creates a decadent dessert that still feels light. Garnish with dark chocolate shavings for an elegant touch.

Seasonal Adaptations

In fall, add ½ tsp pumpkin pie spice to the filling and top with candied pecans for a Thanksgiving-inspired twist. For summer, infuse the haupia with 1 tsp lime zest and serve with mint leaves for a refreshing palate cleanser.

In winter, spike the haupia with ½ tsp espresso powder and top with chopped dark chocolate—the bitterness balances the sweetness perfectly. Each season gets its own unique character while keeping the core flavors intact. ❄️

Nutrition facts

Servings 8
Amount Per Serving
Calories 480kcal
% Daily Value *
Total Fat 28g36%
Saturated Fat 18g90%
Cholesterol 105mg35%
Sodium 310mg13%
Total Carbohydrate 58g21%
Dietary Fiber 3g11%
Sugars 42g
Protein 8g16%
* Percent Daily Values are based on a 2,000 calorie diet. Your daily values may be higher or lower depending on your calorie needs.

Frequently asked questions

1

Can I make this pie without agar-agar?

Yes, but the texture will differ. Use 1.5 tsp vegetarian gelatin dissolved in ¼ cup hot water instead, then mix into the coconut milk mixture. The haupia layer will be softer and less jelly-like. For a vegan version, try 1 tbsp tapioca starch or ½ tsp arrowroot powder—these create a thicker pudding texture rather than a firm custard.

2

How do I store leftovers?

Keep the pie refrigerated in an airtight container for up to 5 days. The haupia layer actually improves overnight as it sets further. For longer storage, freeze individual slices wrapped in plastic for 3 months. Thaw at room temperature before serving. Never refreeze thawed slices.

3

What's the best way to reheat slices?

Reheat in the microwave for 20-30 seconds on medium power with a damp paper towel covering the slice. For a crispier crust, warm at 350°F for 8-10 minutes in an oven-safe dish. The haupia layer may soften slightly but remains delicious. Avoid reheating in air fryers—the coconut topping burns easily.

4

Can I use orange sweet potatoes?

Orange sweet potatoes work perfectly and will still create a beautiful dessert. The flavor will be slightly less earthy and more familiar, but the tropical coconut-haupia contrast remains stunning. For best results, choose very ripe orange sweet potatoes—they're naturally sweeter and pair better with the coconut flavors.

Why is my haupia layer watery?

This usually happens if the agar-agar didn't dissolve completely or the mixture wasn't chilled properly.

★★★★★4.7(12 reviews)
Categories Desserts