Generally indulging in an adult beverage while OCing is is said to be legal because there is no law specifically stating otherwise.
However note the following closely related statutes. Note that there is no distinction between CC and OC.
§ 18.2-285
Hunting with firearms while under influence of intoxicant or narcotic drug; penalty.
It shall be unlawful for any person to hunt wildlife with a firearm, bow and arrow, or crossbow in the Commonwealth of Virginia while he is (i) under the influence of alcohol; (ii) under the influence of any narcotic drug or any other self-administered intoxicant or drug of whatsoever nature, or any combination of such drugs, to a degree that impairs his ability to hunt with a firearm, bow and arrow, or crossbow safely; or (iii) under the combined influence of alcohol and any drug or drugs to a degree that impairs his ability to hunt with a firearm, bow and arrow, or crossbow safely. Any person who violates the provisions of this section is guilty of a Class 1 misdemeanor. Conservation police officers, sheriffs and all other law-enforcement officers shall enforce the provisions of this section.
§ 18.2-308.4
As an add on charge where illegal drugs are concerned.