Toolvist

Material Color Palette Generator

Generate a Material Design color palette from any base color, with all shades and hex codes.

This becomes the 500 shade of the ramp.

Base

#2563EB

Shades

10

Status

Click any swatch to copy its hex code.

Shade ramp

Harmonized accent

Material Color Palette Generator

Generate a Material Design–style color palette from any base color. You get a full 50–900 shade ramp with hex codes, a matching accent tint, and text-color recommendations for each swatch.

The framework alternative is the Tailwind Color Palette Generator, and colours drawn from either can be extended with the Color Harmony Generator. To check a chosen pair, the Color Contrast Checker is the tool.

How to use the Material Palette

  1. 1 Enter a base colour — the brand value you already use, or any hex you like.
  2. 2 The generator derives the full ten-step scale from 50 to 900, plus the accent variants.
  3. 3 Check the contrast of the steps you intend to use as text against the ones you intend as backgrounds.
  4. 4 Copy the values individually, or take the whole ramp to paste into your design tokens.

Why generated ramps beat hand-picked greys

When a palette is built by eye, the steps tend to be uneven: two values that look different in isolation turn out to be nearly identical at small sizes, and a missing step is discovered mid-build. A generated ramp avoids both problems because the spacing is computed to be perceptually even across the full range.

That evenness is what makes a design system predictable. Designers can reason that step 100 is a subtle surface, step 700 is a readable text colour and step 900 is near-black, and those expectations hold for every hue in the system rather than only the one that was tuned by hand.

  • Use 50–200 for backgrounds and subtle surfaces.
  • Use 300–500 for borders and secondary elements.
  • Use 600–800 for text and primary actions.
  • Reserve 900 for the strongest contrast and dark surfaces.

Frequently asked questions

What is the difference between the 50–900 steps and the accent colours?

The main scale provides a family of tones derived from the base hue, intended for surfaces, borders and text at different levels of emphasis. The accent variants are a separate set tuned for interactive elements and highlights. In practice most interfaces use the main scale for structure and one or two accent steps for anything that must draw attention.

Why does the mid-range step matter so much?

Because it is conventionally the one used as a primary action colour, and it therefore appears most often on buttons and links. That step needs to pass contrast against white text when used as a background, and against a white page when used as text — two different requirements that both usually land on the 500 to 700 range.

Can I use Material colours outside a Material Design interface?

Yes, and many do. The palette is a well-constructed set of perceptual ramps and nothing about it is tied to Material's component library. What matters is that the steps are evenly spaced in perceived lightness, which makes them predictable to use regardless of which design system the rest of the interface follows.

Related Image & Color Tools

Browse all Image & Color Tools →

You might also need

Tools from other categories that people pair with the Material Palette:

Browse the full tool directory →