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.
| Role | Hex | Android name |
|---|---|---|
| Primary | #9C27B0 |
@color/primary |
| Dark primary | #7B1FA2 |
@color/primary_dark |
| Light primary | #E1BEE7 |
@color/primary_light |
| Accent | #03A9F4 |
@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 |
Download: CSS Sass Less Tailwind SVG Android XML JSON
Material 3 builds its roles from one seed. With Purple 500 as the seed and the Light Blue accent kept as the tertiary color:
#9C27B0
Dark primary#7B1FA2
Light primary#E1BEE7
Accent#03A9F4
#7B4E7F
Primary container#FFD6FE
Secondary container#F4DBF1
Tertiary (accent)#006493
#EBB5ED
Primary container#613766
Secondary container#534153
Tertiary (accent)#8DCDFF
// 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(0xFF006493),
onTertiary = Color(0xFFFFFFFF),
tertiaryContainer = Color(0xFFCAE6FF),
onTertiaryContainer = Color(0xFF001E30),
)
val DarkColors = darkColorScheme(
primary = Color(0xFFEBB5ED),
onPrimary = Color(0xFF49204E),
primaryContainer = Color(0xFF613766),
onPrimaryContainer = Color(0xFFFFD6FE),
tertiary = Color(0xFF8DCDFF),
onTertiary = Color(0xFF00344F),
tertiaryContainer = Color(0xFF004B70),
onTertiaryContainer = Color(0xFFCAE6FF),
)
Material 3: Material Purple theme Material 2 to 3 migration guide Open in the theme builder
All shades: Material Purple Material Light Blue
Purple and Red Purple and Pink Purple and Deep Purple Purple and Indigo Purple and Blue Purple and Light Blue Purple and Cyan Purple and Teal Purple and Green Purple and Light Green Purple and Lime Purple and Yellow Purple and Amber Purple and Orange Purple and Deep Orange Purple and Brown Purple and Grey Purple and Blue Grey
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.
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
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.
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.