Try to use public Color Tb3BackgroundColor { get; set; } = (Color)System.Windows.Media.ColorConverter.ConvertFromString("#FFBF72FF")
. And there is an answer(How do I get the color from a hexadecimal color code using .NET) which is related to your question ?
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.