Pastel gradient generator for Flutter

Create a pastel gradient generator built for Flutter. This page gives you a ready-to-use color system, export code, and a live gradient preview — no design tools required.

pastel gradient generator for flutter UI preview
pastel gradient generator for flutter UI preview

Color palette

#f0fcfe
Background 1
background
#f8feff
Surface 1
surface
#111827
Text Primary 1
text-primary
#757f88
Text Secondary 1
text-secondary
#9cebf7
Primary 1
primary
#dcbbfc
Secondary 1
secondary
#dcbbfc
Accent 1
accent

Pastel gradient generator for Flutter explained

The pastel gradient generator for flutter pairs #9cebf7 as its primary hue with #dcbbfc as the accent. The palette is balanced for pastel aesthetics while keeping text readable against the surface color.

Every swatch is derived from the same two anchor colors, so the gradient generator stays harmonious across backgrounds, borders, buttons, and hover states. Copy the CSS below or open it in Flutter and apply it immediately.

Use the preview image as a starting point for your own mockups. It shows the exact #9cebf7 → #dcbbfc gradient applied to a phone screen, a primary button, and a wave pattern so you can see how the pastel look plays out in a real interface.

Export code

/* CSS Custom Properties */
:root {
  --background: #f0fcfe;
  --surface: #f8feff;
  --text-primary: #111827;
  --text-secondary: #757f88;
  --primary: #9cebf7;
  --secondary: #dcbbfc;
  --accent: #dcbbfc;
}

/* Tailwind CSS config (extend.colors) */
module.exports = {
  theme: {
    extend: {
      colors: {
        'background': '#f0fcfe',
        'surface': '#f8feff',
        'text-primary': '#111827',
        'text-secondary': '#757f88',
        'primary': '#9cebf7',
        'secondary': '#dcbbfc',
        'accent': '#dcbbfc',
      }
    }
  }
};

Related gradient generators