Palette Library

Jam Session

A vibrant palette for creative with a pink primary and an orange accent. Text reaches 16.60:1 in light mode and 17.61:1 in dark mode.

How to use it

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

  • Light mode: page #f7fbff, cards #edf5fc, and text #101c26 at 16.60:1; buttons #a21caf with #f7fbff labels at 6.08:1; highlights #fb923c with #101c26 text at 7.62:1.
  • Dark mode: page #0b0d0f, cards #111518, and text #f0f4f8 at 17.61:1; buttons #e365f0 with #0b0d0f labels at 6.84:1; highlights #fb923c with #0b0d0f text at 8.60:1.
  • Links: #a21caf reaches 6.08:1 on the light page, and #e365f0 reaches 6.84:1 on the dark page.
  • The accent as text: In light mode, keep #fb923c for fills and badges, not text: it reaches only 2.17: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
#f7fbff
#0b0d0f
Surface
#edf5fc
#111518
Text
#101c26
#f0f4f8
Primary
#a21caf
#e365f0
Primary Foreground
#f7fbff
#0b0d0f
Accent
#fb923c
#fb923c
Accent Foreground
#101c26
#0b0d0f

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
Text16.60:1AAArequired15.67:1AAArequired2.73:1Fail7.62:1AAA
Primary6.08:1AArequired5.74:1AA1.00:1Fail2.79:1Fail
Accent2.17:1Fail2.05:1Fail2.79:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.05:1Fail6.08:1AArequired2.17:1Fail
Accent Foreground16.60:1AAA15.67:1AAA2.73:1Fail7.62:1AAArequired

Dark mode

Scroll the table sideways on a small screen.

dark mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text17.61:1AAArequired16.60:1AAArequired2.57:1Fail2.04:1Fail
Primary6.84:1AArequired6.45:1AA1.00:1Fail1.25:1Fail
Accent8.60:1AAA8.10:1AAA1.25:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.06:1Fail6.84:1AArequired8.60:1AAA
Accent Foreground1.00:1Fail1.06:1Fail6.84:1AA8.60: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: #f7fbff;
  --surface: #edf5fc;
  --text: #101c26;
  --primary: #a21caf;
  --primary-foreground: #f7fbff;
  --accent: #fb923c;
  --accent-foreground: #101c26;
}

.dark {
  --background: #0b0d0f;
  --surface: #111518;
  --text: #f0f4f8;
  --primary: #e365f0;
  --primary-foreground: #0b0d0f;
  --accent: #fb923c;
  --accent-foreground: #0b0d0f;
}

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: #f7fbff;
  --surface: #edf5fc;
  --text: #101c26;
  --primary: #a21caf;
  --primary-foreground: #f7fbff;
  --accent: #fb923c;
  --accent-foreground: #101c26;
}

.dark {
  color-scheme: dark;
  --background: #0b0d0f;
  --surface: #111518;
  --text: #f0f4f8;
  --primary: #e365f0;
  --primary-foreground: #0b0d0f;
  --accent: #fb923c;
  --accent-foreground: #0b0d0f;
}

@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 Midnight Orchid, which shares the Creative topic: text reaches 16.60:1 in light mode against 13.15:1, the primary is pink where Midnight Orchid's is purple, and the accent is orange where Midnight Orchid's is pink.
  • Compared with Cherry Blossom, which shares the Creative topic: text reaches 16.60:1 in light mode against 17.53:1, both use a pink primary, and the accent is orange where Cherry Blossom's is pink.