On Earth, amethysts can form when gas bubbles in lava cool under the right conditions. In space, a dying star with a mass similar to the Sun is capable of producing a structure on par with the appeal of these beautiful gems.
Source:: Chandra
Let's Dance with Aliens