The Material Palette Generator takes a single base colour and expands it into a complete, production-ready palette: a Material-Design-style 50–900 scale, a run of lighter tints, a run of darker shades, and a set of muted tones. Every swatch shows its hex code, and you can copy any value with one click or export the whole palette as CSS variables, a Tailwind colour block, JSON, or a downloadable SVG swatch sheet. It is built for designers and front-end developers who start from one brand colour and need a consistent, accessible family of shades to build an interface around — without hand-mixing dozens of values in a design tool.
How it works
Pick a base colour with the native colour picker or type any hex value — both 3-digit (#fff) and
6-digit (#2563eb) forms are accepted. The tool converts that colour into the HSL colour space,
because lightness and saturation are exactly the levers you need to build a clean ramp. Tints are
produced by raising lightness toward 100 percent, shades by lowering lightness toward 0, and
tones by reducing saturation toward grey while holding the hue and lightness steady. The
Material 50–900 scale is generated from a perceptually spaced lightness curve anchored near the
500 step, with saturation that rises gently through the middle of the range and eases off at the very
light and very dark ends — the same shape you see in well-designed Material swatch ramps.
Each swatch automatically chooses black or white label text from its own luminance so the hex code is always legible, and the base colour’s WCAG contrast ratio against white and black is shown so you can judge readability before you commit. Adjust the steps slider to make the tint and shade runs coarser or finer, save frequently used base colours to a swatch tray, and the whole state — base, name, step count and saved swatches — persists locally in your browser between visits.
Example
Start with the brand blue #2563eb. The generator anchors it at the 500 step and produces a scale
from a pale #eff4fe-style 50 up to a deep near-navy 900. Set the steps slider to 5 and you get five
tints climbing toward white and five shades falling toward black, plus tones that fade the same blue
into progressively greyer, calmer variants. Switch the export panel to Tailwind and paste the
generated theme.extend.colors block straight into your config; your buttons, surfaces, text and
borders now all draw from one coherent brand-50 … brand-900 family. Every figure here is computed in
your browser — no colour is uploaded or stored on any server.