Something I’d never noticed before.
“I would give you some violets, but they withered all when my father died…” – one of Ophelia’s last lines
But then:
Lay her i’ the earth:
And from her fair and unpolluted flesh
May violets spring! – Laertes over the grave of Ophelia
That’s actually the only two references to violets in the play (although that’s not terribly surprising, there’s not many references to any flowers). I’m sure that violets have some special significance, I’m just putting it into my “pretend these are real people” way of thinking. You were there to hear your sister’s last words, so at her funeral so turn them into something more positive and hopeful? I’m not sure I’d call it a “pun”, as the excerpt below does:
The violet’s scent, said Hamlet, was "Sweet, not lasting, the perfume and suppliance of a minute, no more" and reinforced the flower’s traditional association with an early death. This tradition arose because the violet blooms early in spring and fades before summer and autumn arrive. This symbolism also explains why Laertes alludes to the violet and puns on "spring" in his speech over Ophelia’s grave…