Expanded Colors
Choose a palette color as the text (foreground) color. Each tile updates to show its contrast ratio and WCAG rating against that background.
Select any tile to use that color as the foreground for every swatch.
Purple
#4F277A
rgb(79, 39, 122)
hsl(269, 52%, 32%)
oklch(37.2%, 34%, 302.366%)
#582C83
rgb(88, 44, 131)
hsl(270, 50%, 34%)
oklch(39.7%, 35.25%, 303.87%)
#5E308A
rgb(94, 48, 138)
hsl(271, 48%, 36%)
oklch(41.5%, 36.25%, 304.289%)
#663491
rgb(102, 52, 145)
hsl(272.28 47% 39%)
oklch(43.58% 0.15 305.84)
#743DA1
rgb(116, 61, 161)
hsl(273.02 45% 44%)
oklch(47.67% 0.159 306.68)
#8246AF
rgb(130, 70, 175)
hsl(274.27 43% 48%)
oklch(51.55% 0.165 307.99)
#9967BF
rgb(153, 103, 191)
hsl(274.1 41% 57.99999999999999%)
oklch(60.21% 0.139 309)
#B794D1
rgb(183, 148, 209)
hsl(274.42 40% 70%)
oklch(72% 0.094 310.24)
#D3BFE3
rgb(211, 191, 227)
hsl(273.34 39% 82%)
oklch(83.27% 0.054 310.07)
Blue
Teal
Orange/Yellow
Green
Gray
Red - for errors only
Special