Generate a tailwind.config color scale (50–950) from any base color — drop it straight into theme.extend.colors.
colors: {
brand: {
50: '#F3F0FF',
100: '#E2DBFF',
200: '#C2B3FF',
300: '#9980FF',
400: '#6C47FF',
500: '#3F0FFF',
600: '#2E00E6',
700: '#2600BD',
800: '#1D008F',
900: '#140066',
950: '#0C003D',
},
}Tailwind expects each color as an object of numbered shades (50 lightest to 950 darkest). The generator anchors your color in that scale and computes the lighter and darker steps around it, then formats the whole thing as the JavaScript object Tailwind’s theme.extend.colors expects.
Pick or paste the base color you want a Tailwind scale for.
Grab the generated { 50: ..., 100: ..., ..., 950: ... } object.
Paste it under theme.extend.colors in tailwind.config.js and use classes like bg-brand-500.