Palette · dark · purple · gradient

Violet Night

A cosmic purple-to-pink pairing over deep space black — dramatic and premium, built for launch pages and hero moments.

Copy as

Building with shadcn/ui?

Install Violet Night as a real theme — light and dark, OKLCH tokens, contrast checked.

Get the theme →

Usage system

Everything you need to wire this palette into a real project, not just the colors.

CSS variables
:root {
  --color-bg: #0F0A1E;
  --color-surface: #1A1230;
  --color-primary: #A855F7;
  --color-accent: #EC4899;
  --color-text: #EDE9FE;
  --color-muted: #9A8CB8;
}
Tailwind config
// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        bg: '#0F0A1E',
        surface: '#1A1230',
        primary: '#A855F7',
        accent: '#EC4899',
        text: '#EDE9FE',
        muted: '#9A8CB8',
      },
    },
  },
};
Font pairing Sora / heading · Inter / body
Corner radius 14px
Spacing scale 4px base · 4 / 8 / 12 / 16 / 24 / 40

In context

New

Build better, faster

A card, a heading, a button and a hint of text: the palette doing real work.

Found one you like? Pair it with a template, generate a matching background in the gradient generator, or browse all palettes.