Another option if you are using a PC for webcontrol is to use a separate microcontroller like Arduino uno or nano and then use the pendant service to pull status led settings and change the light color based on the machine status or make tactile buttons for start/stop/pause. This is a bit more complicated, but also possible.
another option is to have a separate power supply for the light routed through an AUX relay. Then use the spindle/vac on outputs to trigger the relay and turn on the light.