The hottest star known is a recently formed white dwarf at the center of an active planetary nebula, NGC 2240.
A HST image of NGC 2240 that is about 4,000 light-years from Earth. UV light from the remaining central white dwarf, one of the hottest known, makes the material fluoresce. The original star had a mass similar to that of the Sun.