Pastel gradient generator for Bootstrap 5
Create a pastel gradient generator built for Bootstrap 5. This page gives you a ready-to-use color system, export code, and a live gradient preview — no design tools required.
Color palette
Pastel gradient generator for Bootstrap 5 explained
The pastel gradient generator for bootstrap 5 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 Bootstrap 5 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',
}
}
}
};