You may find varying opinions.
If you have a facility where 210.5 applies (more than one nominal voltage system) then you must have unique branch circulate phase identification. This is commonly accomplished by color code.
210.5 states the branch circuit shall be identified.
Art 100 identifies the branch circuit as:
Branch Circuit. The circuit conductors between the final overcurrent device protecting the circuit and the outlet(s).
and an outlet as:
Outlet. A point on the wiring system at which current is taken to supply utilization equipment.
so the question would seem to be is the outlet the j box or the fixture, in other words, does the branch circuit stop at the j box (by definition) or at the fixture.