If desired, rim your glass with lavender sugar by rubbing a lime wedge along the rim and dipping it in sugar.
In a cocktail shaker, combine tequila, lavender liqueur (or syrup), lime juice, and cream of coconut.
Add ice and shake for about 15 seconds until well chilled.
Pour into a rocks glass filled with fresh ice or serve straight up in a chilled coupe glass.
Add a lime wheel or a sprig of dried lavender for an elegant touch.