#8A5FE7 is a mid-toned, cool purple. On the Color Lab it reads clean and engineered, bold and ownable. It carries a legible label as a UI accent and sits well as a supporting tone.
Not just a swatch — here's how #8A5FE7 works with other colors. Named schemes with #8A5FE7 in its natural role, and a note on why the supporting colors balance it.
Medium Slate Blue sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Medium Slate Blue is the vivid signal in this product UI — on a near-black surface with cool white, a slate grey and a lighter tint of Medium Slate Blue.
Medium Slate Blue is the single accent in this high-contrast editorial system — set on near-white paper against near-black ink, with a warm grey and a desaturated tint of Medium Slate Blue carrying the quiet middle.
Medium Slate Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Medium Slate Blue glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #8A5FE7 actually behaves in design work — read from its OKLCH lightness, chroma and hue, not just its raw numbers. Ten signals to help you decide where this color earns its place.
Not a swatch to memorise — a color to build with. Here is #8A5FE7 at work across the surfaces designers actually ship.
:root {
--color-base: #8A5FE7;
--color-base-rgb: 138 95 231;
--color-base-oklch: oklch(59.9% 0.197 294.2);
--color-50: #F5F1FE;
--color-100: #E5DBFB;
--color-200: #CBB8F4;
--color-300: #A688E7;
--color-400: #835CD6;
--color-500: #6339BC;
--color-600: #50338F;
--color-700: #3C2A65;
--color-800: #2A1F42;
--color-900: #1B1529;
--color-on-base: #141310;
}
// tailwind.config.js
colors: {
medium-slate-blue: {
50: '#F5F1FE',
100: '#E5DBFB',
200: '#CBB8F4',
300: '#A688E7',
400: '#835CD6',
500: '#6339BC',
600: '#50338F',
700: '#3C2A65',
800: '#2A1F42',
900: '#1B1529',
},
}
$base: #8A5FE7; $base-ink: #141310; $base-50: #F5F1FE; $base-100: #E5DBFB; $base-200: #CBB8F4; $base-300: #A688E7; $base-400: #835CD6; $base-500: #6339BC; $base-600: #50338F; $base-700: #3C2A65; $base-800: #2A1F42; $base-900: #1B1529; $base-hover: #6126DF; $base-subtle: #DED4F3;
{
"color": {
"base": {
"value": "#8A5FE7",
"type": "color"
},
"onBase": {
"value": "#141310",
"type": "color"
},
"scale": {
"50": {
"value": "#F5F1FE",
"type": "color"
},
"100": {
"value": "#E5DBFB",
"type": "color"
},
"200": {
"value": "#CBB8F4",
"type": "color"
},
"300": {
"value": "#A688E7",
"type": "color"
},
"400": {
"value": "#835CD6",
"type": "color"
},
"500": {
"value": "#6339BC",
"type": "color"
},
"600": {
"value": "#50338F",
"type": "color"
},
"700": {
"value": "#3C2A65",
"type": "color"
},
"800": {
"value": "#2A1F42",
"type": "color"
},
"900": {
"value": "#1B1529",
"type": "color"
}
}
}
}