Lilac

Second-hand marketplace · Score 100 ·Generated

View JSON

10 colour roles

Every colour has a defined purpose. Use the buttons on the right to copy it in any format.

Primary primary
Brand colour for primary buttons, selected states and emphasis
#833ebbrgb(131, 62, 187)hsl(273.1, 50.2%, 48.8%)
Primary dark primaryDark
Pressed state, or primary on dark backgrounds
#5e2a89rgb(94, 42, 137)hsl(272.8, 53.1%, 35.1%)
Primary light primaryLight
Tinted surfaces, tag backgrounds, subdued selected states
#d0bde0rgb(208, 189, 224)hsl(272.6, 36.1%, 81%)
Secondary secondary
Companion to the primary for secondary buttons and icons
#b2605crgb(178, 96, 92)hsl(2.8, 35.8%, 52.9%)
Accent accent
Spot colour for badges and highlights
#88db43rgb(136, 219, 67)hsl(92.8, 67.9%, 56.1%)
Success success
Success toasts and completed states
#2aac60rgb(42, 172, 96)hsl(144.9, 60.7%, 42%)
Warning warning
Warnings and pending states
#f5a70argb(245, 167, 10)hsl(40.1, 92.2%, 50%)
Danger danger
Errors, destructive actions and failure states
#e23428rgb(226, 52, 40)hsl(3.9, 76.2%, 52.2%)
Text text
Body text colour
#272329rgb(39, 35, 41)hsl(280, 7.9%, 14.9%)
Page background bg
Page base colour
#faf9fargb(250, 249, 250)hsl(300, 9.1%, 97.8%)

How to use it

Written by hand for the hue family and lightness of this palette, not assembled from a template.

The lead colour sits in the middle of the lightness range, which makes it the most adaptable: both light and dark themes are easy to build on.

Good forFor creative, beauty, content and membership products — the more emotional end of the spectrum.
Use with carePurple, red and blue can blur together; keep enough lightness between them.
Pairs withPale pink and cream soften it; deep blue grounds it.

Hue family: Purple

What it looks like in a real interface

The same palette rendered across all three platforms — the fastest way to judge whether it works.

Live preview · switch platform
9:41
Today
FeaturedNearby
Weekend by the sea

Sample body copy, used to check how secondary text reads on a card background.

Read more →
Primary
Secondary
Disabled
HomeExploreProfile

Accessibility contrast check

Calculated to WCAG 2.1. AA is the accessibility baseline, AAA the enhanced level.

Foreground / backgroundRatioBody textLarge text
Body text / page background14.72:1AAAAAA
Brand colour / page background5.93:1AAAAAA

Export to your project

Four formats, ready to paste. Or fetch them by URL from your tooling or AI agent.

CSS variables

:root { --color-primary: #833ebb; /* Primary */ --color-primaryDark: #5e2a89; /* Primary dark */ --color-primaryLight: #d0bde0; /* Primary light */ --color-secondary: #b2605c; /* Secondary */ --color-accent: #88db43; /* Accent */ --color-success: #2aac60; /* Success */ --color-warning: #f5a70a; /* Warning */ --color-danger: #e23428; /* Danger */ --color-text: #272329; /* Text */ --color-bg: #faf9fa; /* Page background */ }

SCSS variables

$color-primary: #833ebb; // Primary $color-primaryDark: #5e2a89; // Primary dark $color-primaryLight: #d0bde0; // Primary light $color-secondary: #b2605c; // Secondary $color-accent: #88db43; // Accent $color-success: #2aac60; // Success $color-warning: #f5a70a; // Warning $color-danger: #e23428; // Danger $color-text: #272329; // Text $color-bg: #faf9fa; // Page background

Tailwind config

// tailwind.config.js: Lilac module.exports = { theme: { extend: { colors: { 'primary': '#833ebb', 'primaryDark': '#5e2a89', 'primaryLight': '#d0bde0', 'secondary': '#b2605c', 'accent': '#88db43', 'success': '#2aac60', 'warning': '#f5a70a', 'danger': '#e23428', 'text': '#272329', 'bg': '#faf9fa', }, }, }, };

Machine-readable JSON

{ "name": "Lilac", "platform": "app", "tags": [ "Calm", "Purple" ], "advice": { "family": "Purple", "depth": "The lead colour sits in the middle of the lightness range, which makes it the most adaptable: both light and dark themes are easy to build on.", "muted": null, "suit": "For creative, beauty, content and membership products — the more emotional end of the spectrum.", "avoid": "Purple, red and blue can blur together; keep enough lightness between them.", "pair": "Pale pink and cream soften it; deep blue grounds it." }, "roles": { "primary": "#833ebb", "primaryDark": "#5e2a89", "primaryLight": "#d0bde0", "secondary": "#b2605c", "accent": "#88db43", "success": "#2aac60", "warning": "#f5a70a", "danger": "#e23428", "text": "#272329", "bg": "#faf9fa" }, "contrast": { "textOnBg": { "ratio": 14.72, "level": "AAA" }, "primaryOnBg": { "ratio": 5.93, "level": "AAA" } } }