niceui

Periwinkle Color Palette

Blues, teals and violets that feel calm, clean and trustworthy. Copy any hex code, or grab the whole palette as CSS variables or a Tailwind config.

Open in generator

Color codes

ColourHEXRGBHSLOKLCH

Contrast

WCAG contrast for the strongest pairs. AA needs 4.5:1 for body text.

Aa#5c62c9 on #f2f3ff4.71:1 · AA
Aa#5c62c9 on #d7dbff3.82:1 · AA large
Aa#5c62c9 on #b4bbff2.84:1 · Fail
Aa#8c93f0 on #f2f3ff2.52:1 · Fail

CSS variables

:root {
  --periwinkle-1: #f2f3ff;
  --periwinkle-2: #d7dbff;
  --periwinkle-3: #b4bbff;
  --periwinkle-4: #8c93f0;
  --periwinkle-5: #5c62c9;
}

Tailwind CSS

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'periwinkle': {
          100: '#f2f3ff',
          200: '#d7dbff',
          300: '#b4bbff',
          400: '#8c93f0',
          500: '#5c62c9',
        },
      },
    },
  },
};
Edit this palette in the Palette GeneratorSpace to generate, lock colours, colours from an image, Tailwind 50–950 scales, contrast checks and CSS, Tailwind or shadcn export.

FAQ

What colors are in the Periwinkle palette?

Periwinkle uses #f2f3ff, #d7dbff, #b4bbff, #8c93f0, #5c62c9.

Which colors in Periwinkle work for text?

The strongest pair is #f2f3ff and #5c62c9 with a contrast ratio of 4.71:1 (AA).

Similar palettes

More: Cool color palettesPastel color palettesAll palettes