This fascinating recipe creates a dessert sauce that visibly changes color with temperature: it’s a rich, caramel-brown syrup when warm, and transforms into a sunny yellow gel as it cools. The effect relies on a pH-sensitive extract from butterfly pea flowers, which shifts from blue-purple to yellow in acidic conditions. It’s a fun, science-backed way to add a “wow” factor to desserts, drinks, or even savory glazes.
Ingredients
- 2 cups (480 ml) water
- 1/2 cup (100 g) granulated sugar
- 2 tablespoons (30 ml) lemon juice (freshly squeezed)
- 1 tablespoon (15 ml) dried butterfly pea flowers (or 2 tablespoons fresh)
- 1/4 teaspoon (1.5 g) salt
- 2 teaspoons (10 g) agar-agar powder (or 1 tablespoon (15 g) cornstarch for a softer set)
Instructions
- In a small saucepan, combine the water and sugar. Heat over medium heat, stirring occasionally, until the sugar dissolves completely.
- Add the dried butterfly pea flowers and salt. Bring the mixture to a gentle simmer, then remove from heat. Let the flowers steep for 5 minutes. The liquid should turn a deep blue-purple.
- Strain the liquid through a fine-mesh sieve into a clean bowl or measuring cup. Press the flowers to extract as much liquid as possible. Discard the flowers.
- Return the strained liquid to the saucepan. Whisk in the agar-agar powder (or cornstarch, if using). Bring to a boil over medium-high heat, whisking constantly. Boil for 1 minute (for agar) or 2 minutes (for cornstarch) until the mixture thickens slightly.
- Remove from heat. Stir in the lemon juice. The mixture will immediately turn from blue-purple to a warm brownish-yellow. This is your “brown when hot” state.
- Pour the hot sauce into a heatproof container or individual ramekins. Let it cool at room temperature for 15-20 minutes, then refrigerate for at least 30 minutes. As it cools, it will set into a firm gel and turn a bright, clear yellow. This is your “yellow when cold” state.
- To serve warm, reheat gently in a saucepan over low heat or in the microwave in 15-second bursts, stirring between, until it liquefies and turns brown again.
Tips
- Substitutions: No butterfly pea flowers? Use 1/2 teaspoon of blue food coloring (gel or liquid) mixed with 1/4 teaspoon of baking soda to mimic the initial blue color. The lemon juice will still cause the color shift. Note that the flavor will be slightly different.
- Consistency: Agar-agar gives a firm, sliceable gel. For a softer, spoonable jelly, use cornstarch. If using cornstarch, make sure to dissolve it in a little cold water before adding to the hot liquid to prevent lumps.
- Color intensity: The more flowers you steep, the deeper the blue and the more dramatic the color change. If your flowers are old, you may need to steep longer or add more.
- Acidity matters: The color change is pH-driven. Lemon juice is acidic enough. If you use another acid (like vinegar), the result will be similar but may taste different. Avoid using too much acid, or the gel may become too tart.
Serving Suggestions
Serve the warm brown sauce over vanilla ice cream, pound cake, or pancakes. As it cools on the cold dessert, it will start to turn yellow, creating a beautiful gradient. Alternatively, serve the cold yellow gel as a topping for fruit salads, cheesecake, or as a quirky addition to a cheese board. For a dramatic presentation, pour the warm sauce over a dessert at the table and watch it change color before your guests’ eyes.
Variations
- Herbal infusion: Add a cinnamon stick or a star anise to the steeping liquid for a spiced version. Remove before straining.
- Citrus twist: Replace lemon juice with lime juice for a slightly different tartness and a more tropical flavor.
- Savory glaze: Omit the sugar and use the same technique with a splash of soy sauce and rice vinegar. The color change works the same and makes a fun glaze for grilled chicken or tofu.
- Sparkling drink: Make the sauce without agar (just the liquid) and use it as a syrup. Add a spoonful to a glass of sparkling water; the drink will turn brown, then slowly shift to yellow as it sits.
Storage and Reheating
Store the cooled gel in an airtight container in the refrigerator for up to 5 days. To reheat, place the gel in a small saucepan over low heat, stirring frequently, until it melts and turns brown again. You can also microwave it in 15-second bursts, stirring in between. Reheated sauce can be cooled and re-set multiple times, though the color intensity may fade slightly with each cycle. Do not leave the sauce at room temperature for more than 2 hours.
Frequently Asked Questions
Why does the color change?
The butterfly pea flower contains anthocyanins, which are pigments that change color based on pH. In neutral or alkaline conditions, they appear blue-purple. When you add lemon juice (an acid), the pH drops, and the pigment turns yellow. The heat of the sauce keeps the pigment in a state that appears brownish, but as it cools and the gel sets, the yellow becomes more vivid.
Can I use fresh butterfly pea flowers?
Yes, use about 2 tablespoons of fresh flowers. They have a slightly different moisture content, so you may need to steep them a minute longer. The color will be equally vibrant.
Why is my gel not setting?
Agar-agar needs to be boiled for at least 1 minute to activate. If you used cornstarch, it needs to reach a full boil and thicken visibly. Also, make sure you didn’t add too much lemon juice; high acidity can sometimes weaken agar’s setting ability. If it doesn’t set, you can re-boil with a little more agar.
Can I make this without sugar?
Yes, you can use a sugar substitute like erythritol or stevia. The texture may be slightly different, but the color change will still work. Note that some artificial sweeteners can have a slight aftertaste.
Is the color change permanent?
No, it’s reversible. Reheating the yellow gel will turn it brown again, and cooling it will turn it yellow again. This can be repeated several times, though the color may fade slightly over multiple cycles.
Can I freeze this?
Yes, you can freeze the gel for up to 3 months. Thaw in the refrigerator overnight. The texture may become slightly watery after thawing, but reheating and re-cooling will help restore it.
Related
- Potato Varieties: Types, Uses & Best Cooking Methods
- Triple Zero Plain Greek Yogurt: What It Is & How to Use It
- Traditional Rolled Oats: How to Cook Perfectly
More recipes to cook
Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes
Spotted an error? Tell us and we will correct it (corrections policy).