I want to fill the background of some functional groups or atoms including bonds to emphasize them. For instance, to emphasize carbonyl group in a keton, fill the background of C=O like:

I'm using chemfig to draw chemistry equations, and I have a workaround which cover with overlay(chemmove):
\chemfig{R|_1-@{kc}C(=[:90]O)-R|_2}
\chemmove{
\node[fill=purple!20,anchor=text,inner sep=0.1em]
at (kc.text) {\chemfig{C(=[:90]O)}};
}
However, I need simpler and smarter way since, in this way, I have to write the same code twice(which could be very long if the atoms and bonds are long and complicated) and it does not work with wrong anchoring from time to time.
