Class Gems are always Stellar rarity. Like other gems, their element and stat values are randomized; however, classes cannot receive a damage type that they do not use (Physical Damage classes cannot receive a Class Gem with Magic Damage, and vice versa).