In a blender, combine raspberries, lime juice, and sugar (may need to be done in batches). Whirl until pue'ed. Rub pure'e through a fine mesh strainer set over a pitcher or measuring glass; disgard seeds. Stir in tequila and triples sec.
Put half of the crushed ice into the blender with half of the raspberry mixture. Whirl until blended. Repeat with remaining ice and mixture.
If desired, rub rims of glasses with lime wedge, and dip rim in color sugar. Pour margaritas into glass and serve cold with a lime wedge for garnish.