10 colour roles
Every colour has a defined purpose. Use the buttons on the right to copy it in any format.
primary#833ebbrgb(131, 62, 187)hsl(273.1, 50.2%, 48.8%)primaryDark#5e2a89rgb(94, 42, 137)hsl(272.8, 53.1%, 35.1%)primaryLight#d0bde0rgb(208, 189, 224)hsl(272.6, 36.1%, 81%)secondary#b2605crgb(178, 96, 92)hsl(2.8, 35.8%, 52.9%)accent#88db43rgb(136, 219, 67)hsl(92.8, 67.9%, 56.1%)success#2aac60rgb(42, 172, 96)hsl(144.9, 60.7%, 42%)warning#f5a70argb(245, 167, 10)hsl(40.1, 92.2%, 50%)danger#e23428rgb(226, 52, 40)hsl(3.9, 76.2%, 52.2%)text#272329rgb(39, 35, 41)hsl(280, 7.9%, 14.9%)bg#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.
What it looks like in a real interface
The same palette rendered across all three platforms — the fastest way to judge whether it works.
Sample body copy, used to check how secondary text reads on a card background.
Read more →Accessibility contrast check
Calculated to WCAG 2.1. AA is the accessibility baseline, AAA the enhanced level.
| Foreground / background | Ratio | Body text | Large text |
|---|---|---|---|
| Body text / page background | 14.72:1 | AAA | AAA |
| Brand colour / page background | 5.93:1 | AAA | AAA |
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 backgroundTailwind 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"
}
}
}