Be sure your highlight color is still visible when the user puts the system in Light theme mode.
Test your accent colors in both Light and Dark themes.
Since users can choose between several themes, you should consider the possible color combinations if you add colored elements to your UI.
You may want to consult a graphic designer for color combination assistance.