Perfect. I don't think anyone is going to mistake you for the bride.
I asked on here last year about wearing a black dress to a wedding and was told categorically NO YOU MUST NOT EVER. Went to a wedding recently and nearly everyone was wearing a variation of a black dress!
Wear what makes you happy, nobody, not even the bride will care what you turn up in as long as it's not a wedding dress. (Got married myself recently, didn't notice what the guests were wearing!)