In material design, UI element color palettes generally consist of one primary and one accent color.
The accent color is used more subtly throughout the app, to call attention to key elements. The resulting juxtaposition of a tamer primary color and a brighter accent, gives apps a bold, colorful look without overwhelming the app’s actual content.
You got good example in Material Design docs -> your palettes are shown in section "UI color application" - with blue colors being primary and pink being used for accents.
Here is what it means in practice (also FAB would most likely use pink background color)