Primogems can be obtained by completing the Daily Quests, which reset every day at 4am EST. Alternatively, they can also be obtained through the Shop, with either Gems or Shards.