Back to #e6e6fa

Tailwind CSS Palette

Custom color palette generated from #e6e6fa

50#ffffff
100#fdfdff
200#fafafe
300#f8f8fe
400#f6f6fd
500#f4f4fd
600#f1f1fc
700#efeffc
800#ededfb
900#ebebfb
950#e8e8fa

How to Install

1

Open your tailwind.config.js file

Locate the configuration file in your project's root directory.

2

Add the color palette to your theme

Copy the following configuration into your theme's colors section:

module.exports = {
  theme: {
    extend: {
      colors: {
        custom: {
  50: '#ffffff',
  100: '#fdfdff',
  200: '#fafafe',
  300: '#f8f8fe',
  400: '#f6f6fd',
  500: '#f4f4fd',
  600: '#f1f1fc',
  700: '#efeffc',
  800: '#ededfb',
  900: '#ebebfb',
  950: '#e8e8fa',
},
      },
    },
  },
  plugins: [],
}
3

Use the colors in your HTML/JSX

You can now use your custom colors with Tailwind utility classes:

<!-- Background color -->
<div class="bg-custom-500">...</div>

<!-- Text color -->
<p class="text-custom-700">...</p>

<!-- Border color -->
<div class="border-custom-300">...</div>

<!-- Hover states -->
<button class="bg-custom-500 hover:bg-custom-600">...</button>

Alternative: CSS Variables

If you prefer using CSS custom properties, here are the variables:

:root {
--color-custom-50: #ffffff;
--color-custom-100: #fdfdff;
--color-custom-200: #fafafe;
--color-custom-300: #f8f8fe;
--color-custom-400: #f6f6fd;
--color-custom-500: #f4f4fd;
--color-custom-600: #f1f1fc;
--color-custom-700: #efeffc;
--color-custom-800: #ededfb;
--color-custom-900: #ebebfb;
--color-custom-950: #e8e8fa;
}

Individual Color Values

custom-50
#ffffff
custom-100
#fdfdff
custom-200
#fafafe
custom-300
#f8f8fe
custom-400
#f6f6fd
custom-500
#f4f4fd
custom-600
#f1f1fc
custom-700
#efeffc
custom-800
#ededfb
custom-900
#ebebfb
custom-950
#e8e8fa

Learn more about customizing colors in Tailwind CSS