Palette Library

Aurora

A vibrant palette for creative with a purple primary and a green accent. Text reaches 14.67:1 in light mode and 16.11:1 in dark mode.

How to use it

Aurora's roles on a real interface, with the ratios stored for this palette.

  • Light mode: page #fafbfe, cards #eaf0f9, and text #22262d at 14.67:1; buttons #4f46e5 with #fafbfe labels at 6.07:1; highlights #34d399 with #22262d text at 7.89:1.
  • Dark mode: page #17191b, cards #20252d, and text #f1f5fb at 16.11:1; buttons #8d98ff with #17191b labels at 6.77:1; highlights #34d399 with #17191b text at 9.16:1.
  • Links: #4f46e5 reaches 6.07:1 on the light page, and #8d98ff reaches 6.77:1 on the dark page.
  • The accent as text: In light mode, keep #34d399 for fills and badges, not text: it reaches only 1.85:1 on the page.

Preview

The same palette on a small interface in light and dark.

Light mode

A place for your ideas

Start with colors that work together.

Your next project

A surface for the details that matter.

Get startedNew

Explore your palette →

Dark mode

A place for your ideas

Start with colors that work together.

Your next project

A surface for the details that matter.

Get startedNew

Explore your palette →

Roles

Five roles and their two foregrounds. Copy the exact HEX values.

RoleLightDark
Background
#fafbfe
#17191b
Surface
#eaf0f9
#20252d
Text
#22262d
#f1f5fb
Primary
#4f46e5
#8d98ff
Primary Foreground
#fafbfe
#17191b
Accent
#34d399
#34d399
Accent Foreground
#22262d
#17191b

Contrast matrix

Five required pairs per mode, judged on the final 8-bit colors.

Light mode

Scroll the table sideways on a small screen.

light mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text14.67:1AAArequired13.25:1AAArequired2.41:1Fail7.89:1AAA
Primary6.07:1AArequired5.48:1AA1.00:1Fail3.27:1AA large
Accent1.85:1Fail1.67:1Fail3.27:1AA large1.00:1Fail
Primary Foreground1.00:1Fail1.10:1Fail6.07:1AArequired1.85:1Fail
Accent Foreground14.67:1AAA13.25:1AAA2.41:1Fail7.89:1AAArequired

Dark mode

Scroll the table sideways on a small screen.

dark mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text16.11:1AAArequired14.07:1AAArequired2.37:1Fail1.75:1Fail
Primary6.77:1AArequired5.91:1AA1.00:1Fail1.35:1Fail
Accent9.16:1AAA8.00:1AAA1.35:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.14:1Fail6.77:1AArequired9.16:1AAA
Accent Foreground1.00:1Fail1.14:1Fail6.77:1AA9.16:1AAArequired

AAA: normal text ≥ 7:1. AA: normal text ≥ 4.5:1. AA large: large text ≥ 3:1 (24 px, or 18.66 px bold). UI: required component contrast ≥ 3:1. Fail: below 3:1. Required marks the five pairs ColorLint checks in each mode. Other pairs are informational.

ColorLint checks color contrast only. Passing pairs do not mean a page is accessible.

Exports

Both modes, with the exact values the Palette Generator exports.

CSS variables

/* ColorLint palette (v1). Light values in :root; dark values in .dark. */

:root {
  --background: #fafbfe;
  --surface: #eaf0f9;
  --text: #22262d;
  --primary: #4f46e5;
  --primary-foreground: #fafbfe;
  --accent: #34d399;
  --accent-foreground: #22262d;
}

.dark {
  --background: #17191b;
  --surface: #20252d;
  --text: #f1f5fb;
  --primary: #8d98ff;
  --primary-foreground: #17191b;
  --accent: #34d399;
  --accent-foreground: #17191b;
}

Tailwind v4

/* ColorLint palette for Tailwind CSS v4 (palette v1). */
/* Paste after @import "tailwindcss". Add the "dark" class to <html> for dark mode. */

@custom-variant dark (&:where(.dark, .dark *));

:root {
  color-scheme: light;
  --background: #fafbfe;
  --surface: #eaf0f9;
  --text: #22262d;
  --primary: #4f46e5;
  --primary-foreground: #fafbfe;
  --accent: #34d399;
  --accent-foreground: #22262d;
}

.dark {
  color-scheme: dark;
  --background: #17191b;
  --surface: #20252d;
  --text: #f1f5fb;
  --primary: #8d98ff;
  --primary-foreground: #17191b;
  --accent: #34d399;
  --accent-foreground: #17191b;
}

@theme inline {
  --color-background: var(--background);
  --color-surface: var(--surface);
  --color-text: var(--text);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
}

Compared with similar palettes

  • Compared with Lavender Field, which shares the Creative topic: text reaches 14.67:1 in light mode against 19.07:1, both use a purple primary, and both use a green accent.
  • Compared with Pixel Arcade, which shares the vibrant style: text reaches 14.67:1 in light mode against 15.08:1, both use a purple primary, and both use a green accent.