It's about as distant as a light painting can get. This image wasn't made with LEDs, but when the Hubble space telescope missed its target.
When photographing regions of space, the Hubble locks on using Fine Guidance Sensors. A set of gyroscopes measures the attitude of the telescope, or the direction in which it is pointing, and this is then corrected by a set of reaction wheels. The FGS system then locks on to a fixed star, or guide star, to compensate for gyroscopic drift.