About the Material Design palette generator

Pick a primary color and an accent color from the classic Material Design palette and get a matching color scheme for your app or website.

Each palette has a dark primary (shade 700), a primary (shade 500), a light primary (shade 100), a text color for the primary, an accent (A200 when it has white text, otherwise 500), and grey text and divider colors.

How to use it

  1. Click a color to set it as the primary color.
  2. Click a second color to set the accent.
  3. Check the preview, then download the palette as CSS, Sass, Less, SVG, PNG or Android XML.

Purple and Red palette colors

RoleHexAndroid name
Primary #9C27B0 @color/primary
Dark primary #7B1FA2 @color/primary_dark
Light primary #E1BEE7 @color/primary_light
Accent #FF5252 @color/accent
Text and icons on primary #FFFFFF @color/icons
Primary text #212121 @color/primary_text
Secondary text #757575 @color/secondary_text
Divider #BDBDBD @color/divider

Material 3 version of this palette

Material 3 builds its roles from one seed. With Purple 500 as the seed and the Red accent kept as the tertiary color:

Material 2 Primary#9C27B0 Dark primary#7B1FA2 Light primary#E1BEE7 Accent#FF5252
Material 3 (light) Primary#7B4E7F Primary container#FFD6FE Secondary container#F4DBF1 Tertiary (accent)#B81D27
Material 3 (dark) Primary#EBB5ED Primary container#613766 Secondary container#534153 Tertiary (accent)#FFB3AE
Jetpack Compose: Purple theme with a Red tertiary
// Every other role: https://www.materialpalette.com/themes/purple
val LightColors = lightColorScheme(
    primary = Color(0xFF7B4E7F),
    onPrimary = Color(0xFFFFFFFF),
    primaryContainer = Color(0xFFFFD6FE),
    onPrimaryContainer = Color(0xFF613766),
    tertiary = Color(0xFFB81D27),
    onTertiary = Color(0xFFFFFFFF),
    tertiaryContainer = Color(0xFFFFDAD7),
    onTertiaryContainer = Color(0xFF410004),
)

val DarkColors = darkColorScheme(
    primary = Color(0xFFEBB5ED),
    onPrimary = Color(0xFF49204E),
    primaryContainer = Color(0xFF613766),
    onPrimaryContainer = Color(0xFFFFD6FE),
    tertiary = Color(0xFFFFB3AE),
    onTertiary = Color(0xFF68000C),
    tertiaryContainer = Color(0xFF930015),
    onTertiaryContainer = Color(0xFFFFDAD7),
)

Other Purple palettes

Questions

What is a Material Design color palette?

The 2014 Material Design palette has 19 color families, each with shades from 50 to 900 and, for 16 of them, accent shades A100 to A700. An app palette combines one primary color family with one accent color.

Which shades does the palette use?

Primary 500 for app bars, primary 700 for the status bar, primary 100 for light backgrounds, and the accent for floating action buttons and highlights. Text is

What formats can I download?

CSS, Sass, Less, SVG, PNG, Android colors.xml and a Polymer theme. Every palette also has a JSON endpoint at /api/palettes/{primary}/{accent}.json.

Should I use this or Material 3 dynamic color?

New Android apps should use Material 3 color roles, built from one seed color. Use the Material 3 theme builder for that. The classic palette still suits websites and apps built on Material 2.