Material Design Colors

Material Design 2 is Google's fixed color system from 2014: 19 hues, each in 10 tones from 50 (lightest) to 900 (darkest), plus 4 accent tones (A100, A200, A400, A700) for 16 of the 19 hues. With black and white, that is 256 colors in total. Values below are from Google's official color-system page: m2.material.io/design/color/the-color-system.html. Click any swatch to set it as the current color.

Material Design 2 palette — 256 colors

Hue50100200300400500600700800900A100A200A400A700
Red
Pink
Purple
Deep Purple
Indigo
Blue
Light Blue
Cyan
Teal
Green
Light Green
Lime
Yellow
Amber
Orange
Deep Orange
BrownNo accent colors
GrayNo accent colors
Blue GrayNo accent colors
Black & whiteBlack and white complete the 256-color palette
Black & white

Material Design 2 baseline theme

The baseline theme values from the same official page. The 500 tone of each hue is the default “primary” shade; background and surface are white, and error is #B00020.

RoleSwatchHex
Background#FFFFFF
Surface#FFFFFF
Error#B00020

Material Design 3 baseline roles — seed #6750A4

Material Design 3 does not ship a fixed palette: one seed color generates tonal palettes, and the roles below are the baseline scheme built from the default seed #6750A4 (Google Material 3 design tokens v0.192). Light surface is #FEF7FF in tokens v0.192 (post-February 2023) — not the pre-2023 #FFFBFE you may see in older references.

Light scheme

RoleSwatchHexRGB
primary#6750A4rgb(103, 80, 164)
on-primary#FFFFFFrgb(255, 255, 255)
primary-container#EADDFFrgb(234, 221, 255)
on-primary-container#21005Drgb(33, 0, 93)
secondary#625B71rgb(98, 91, 113)
on-secondary#FFFFFFrgb(255, 255, 255)
secondary-container#E8DEF8rgb(232, 222, 248)
on-secondary-container#1D192Brgb(29, 25, 43)
tertiary#7D5260rgb(125, 82, 96)
on-tertiary#FFFFFFrgb(255, 255, 255)
tertiary-container#FFD8E4rgb(255, 216, 228)
on-tertiary-container#31111Drgb(49, 17, 29)
error#B3261Ergb(179, 38, 30)
on-error#FFFFFFrgb(255, 255, 255)
error-container#F9DEDCrgb(249, 222, 220)
on-error-container#410E0Brgb(65, 14, 11)
background#FEF7FFrgb(254, 247, 255)
on-background#1D1B20rgb(29, 27, 32)
surface#FEF7FFrgb(254, 247, 255)
on-surface#1D1B20rgb(29, 27, 32)
surface-variant#E7E0ECrgb(231, 224, 236)
on-surface-variant#49454Frgb(73, 69, 79)
outline#79747Ergb(121, 116, 126)
outline-variant#CAC4D0rgb(202, 196, 208)
inverse-surface#322F35rgb(50, 47, 53)
inverse-on-surface#F5EFF7rgb(245, 239, 247)
inverse-primary#D0BCFFrgb(208, 188, 255)

Dark scheme

RoleSwatchHexRGB
primary#D0BCFFrgb(208, 188, 255)
on-primary#381E72rgb(56, 30, 114)
primary-container#4F378Brgb(79, 55, 139)
on-primary-container#EADDFFrgb(234, 221, 255)
secondary#CCC2DCrgb(204, 194, 220)
on-secondary#332D41rgb(51, 45, 65)
secondary-container#4A4458rgb(74, 68, 88)
on-secondary-container#E8DEF8rgb(232, 222, 248)
tertiary#EFB8C8rgb(239, 184, 200)
on-tertiary#492532rgb(73, 37, 50)
tertiary-container#633B48rgb(99, 59, 72)
on-tertiary-container#FFD8E4rgb(255, 216, 228)
error#F2B8B5rgb(242, 184, 181)
on-error#601410rgb(96, 20, 16)
error-container#8C1D18rgb(140, 29, 24)
on-error-container#F9DEDCrgb(249, 222, 220)
background#141218rgb(20, 18, 24)
on-background#E6E0E9rgb(230, 224, 233)
surface#141218rgb(20, 18, 24)
on-surface#E6E0E9rgb(230, 224, 233)
surface-variant#49454Frgb(73, 69, 79)
on-surface-variant#CAC4D0rgb(202, 196, 208)
outline#938F99rgb(147, 143, 153)
outline-variant#49454Frgb(73, 69, 79)
inverse-surface#E6E0E9rgb(230, 224, 233)
inverse-on-surface#322F35rgb(50, 47, 53)
inverse-primary#6750A4rgb(103, 80, 164)

The complete Material Design 2 color palette: 19 hues × 10 tones plus accents — 256 colors with hex codes — and the Material Design 3 baseline light and dark color roles from seed #6750A4.

Material Design 2 is a fixed palette of 19 hues × 10 tones plus accents — 256 colors including black and white. Material Design 3 is seed-based: one seed color (#6750A4 by default) generates the whole light and dark scheme. Both are on this page, with every hex code ready to copy.

Material Design 2 vs. Material Design 3

Material Design 2 (2014) is a fixed palette: you pick a hue and a tone — Red 500 (#F44336) is the classic primary, Blue 500 (#2196F3) the classic secondary — and the same values are used by every app. The 500 tone is the base color; lighter tones (50–300) work as backgrounds and fills, darker tones (600–900) for text and hover states. Accent tones (A100–A700) are brighter, more saturated variants meant for highlights; Brown, Gray, and Blue Gray have no accents because they are neutrals.

Material Design 3 (2021) is seed-based instead: you choose one seed color and the system derives five tonal palettes (primary, secondary, tertiary, neutral, neutral variant), from which the roles on this page are filled. The baseline seed is #6750A4 (a purple), which is why the baseline primary is #6750A4 in light mode and #D0BCFF in dark mode. Change the seed and every role changes with it — that is the whole point. Only the baseline seed's roles are listed here; to build a scheme from your own seed, use the palette generator or Google's Material Theme Builder.

When you use these colors, remember the roles: primary is for key buttons and active states, on-primary is the text or icon color that sits on top of it, primary-container is a lighter fill for highlighted areas, and surface is the background your content sits on. Pair every color with its matching on-* role — those pairings are designed to pass contrast — and check any pair in the contrast checker before you ship it.

Frequently asked questions

How many colors are in the Material Design 2 palette?

256 in total: 19 hues × 10 core tones (190), plus 4 accent tones for 16 of the 19 hues (64), plus black (#000000) and white (#FFFFFF). Brown, Gray, and Blue Gray have no accent tones.

What is the difference between Material Design 2 and Material Design 3 colors?

Material Design 2 (2014) is a fixed palette — the same 19 hues and tones for every app. Material Design 3 (2021) is seed-based: one seed color generates tonal palettes, and roles like primary, secondary, and surface are filled from them. This page lists the full M2 palette and the M3 baseline roles from the default seed #6750A4.

What is the Material Design 3 baseline seed color?

The baseline seed is #6750A4 (purple). The light scheme's primary is #6750A4 and the dark scheme's primary is #D0BCFF — both derived from that seed.

Why is the Material 3 light surface #FEF7FF and not #FFFBFE?

Google changed the baseline surface in Material 3 design tokens v0.192 (February 2023) from #FFFBFE to #FEF7FF. Older articles and tools still show #FFFBFE; #FEF7FF is the current value, and it is the one used on this page.

What is the Material Design error color?

In the Material Design 2 baseline theme, error is #B00020. In Material Design 3, the light error role is #B3261E and the dark error role is #F2B8B5.

Related tools

Tailwind Colors · Brand Colors · Flat UI Colors · Color Names · Contrast Checker