10 color roles
Every color has a defined purpose. Use the buttons on the right to copy it in any format.
theme#7c5ce0rgb(124, 92, 224)hsl(254.5, 68%, 62%)btn#7c5ce0rgb(124, 92, 224)hsl(254.5, 68%, 62%)btnDisabled#c7b8f2rgb(199, 184, 242)hsl(255.5, 69%, 83.5%)bg#f8f7fdrgb(248, 247, 253)hsl(250, 60%, 98%)card#ffffffrgb(255, 255, 255)hsl(0, 0%, 100%)textMain#221c33rgb(34, 28, 51)hsl(255.7, 29.1%, 15.5%)textSub#857e9crgb(133, 126, 156)hsl(254, 13.2%, 55.3%)divider#e8e4f4rgb(232, 228, 244)hsl(255, 42.1%, 92.5%)price#e05134rgb(224, 81, 52)hsl(10.1, 73.5%, 54.1%)tag#f0ebfcrgb(240, 235, 252)hsl(257.6, 73.9%, 95.5%)How to use it
Written by hand for the hue family and lightness of this palette, not assembled from a template.
The lead color is light, so it works well over large areas — just keep text and borders dark enough to hold the contrast.
What it looks like in a real interface
The same palette rendered across all three platforms — the fastest way to judge whether it works.
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 | 15.38:1 | AAA | AAA |
| Body text / card background | 16.38:1 | AAA | AAA |
| Brand color / page background | 4.42:1 | AA | AA |
More palettes on this platform
Ranked by colour family and shared tags — the ones worth seeing next.
Export to your project
Four formats, ready to paste. Or fetch them by URL from your tooling or AI agent.
CSS variables
:root {
--color-theme: #7c5ce0; /* Theme */
--color-btn: #7c5ce0; /* Button */
--color-btnDisabled: #c7b8f2; /* Button disabled */
--color-bg: #f8f7fd; /* Page background */
--color-card: #ffffff; /* Card */
--color-textMain: #221c33; /* Text main */
--color-textSub: #857e9c; /* Text sub */
--color-divider: #e8e4f4; /* Divider */
--color-price: #e05134; /* Price */
--color-tag: #f0ebfc; /* Tag */
}SCSS variables
$color-theme: #7c5ce0; // Theme
$color-btn: #7c5ce0; // Button
$color-btnDisabled: #c7b8f2; // Button disabled
$color-bg: #f8f7fd; // Page background
$color-card: #ffffff; // Card
$color-textMain: #221c33; // Text main
$color-textSub: #857e9c; // Text sub
$color-divider: #e8e4f4; // Divider
$color-price: #e05134; // Price
$color-tag: #f0ebfc; // TagTailwind config
// tailwind.config.js: Pet Purple
module.exports = {
theme: {
extend: {
colors: {
'theme': '#7c5ce0',
'btn': '#7c5ce0',
'btnDisabled': '#c7b8f2',
'bg': '#f8f7fd',
'card': '#ffffff',
'textMain': '#221c33',
'textSub': '#857e9c',
'divider': '#e8e4f4',
'price': '#e05134',
'tag': '#f0ebfc',
},
},
},
};Machine-readable JSON
{
"name": "Pet Purple",
"platform": "miniapp",
"tags": [
"Vibrant",
"Cute",
"Fan-favorite"
],
"advice": {
"family": "Blue",
"depth": "The lead color is light, so it works well over large areas — just keep text and borders dark enough to hold the contrast.",
"muted": null,
"suit": "A natural base for dark themes, carrying calm and order.",
"avoid": "It is so common that it can feel anonymous; support colors and typography have to do the differentiating.",
"pair": "Deeper blue for depth and white for openness are the two hardest combinations to get wrong."
},
"roles": {
"theme": "#7c5ce0",
"btn": "#7c5ce0",
"btnDisabled": "#c7b8f2",
"bg": "#f8f7fd",
"card": "#ffffff",
"textMain": "#221c33",
"textSub": "#857e9c",
"divider": "#e8e4f4",
"price": "#e05134",
"tag": "#f0ebfc"
},
"contrast": {
"textOnBg": {
"ratio": 15.38,
"level": "AAA"
},
"primaryOnBg": {
"ratio": 4.42,
"level": "AA"
},
"textOnSurface": {
"ratio": 16.38,
"level": "AAA"
}
}
}