#8E87F7 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 #8E87F7 works with other colors. Named schemes with #8E87F7 in its natural role, and a note on why the supporting colors balance it.
Cornflower Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Cornflower Blue keeps this Nordic scheme quiet — cool greys and a soft white around it, a muted-blue support and a charcoal anchor.
Cornflower 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 Cornflower Blue carrying the quiet middle.
Cornflower 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 Cornflower Blue.
Cornflower Blue anchors this café scheme as the warm mid-tone, lifted by latte cream and a muted sage accent and grounded by espresso brown and a warm charcoal.
How #8E87F7 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 #8E87F7 at work across the surfaces designers actually ship.
:root {
--color-base: #8E87F7;
--color-base-rgb: 142 135 247;
--color-base-oklch: oklch(68.0% 0.162 284.1);
--color-50: #F1F0FE;
--color-100: #DAD8FD;
--color-200: #B7B2FA;
--color-300: #867FF0;
--color-400: #5A50E2;
--color-500: #372DC8;
--color-600: #312A98;
--color-700: #29246B;
--color-800: #1E1B46;
--color-900: #14132B;
--color-on-base: #141310;
}
// tailwind.config.js
colors: {
cornflower-blue: {
50: '#F1F0FE',
100: '#DAD8FD',
200: '#B7B2FA',
300: '#867FF0',
400: '#5A50E2',
500: '#372DC8',
600: '#312A98',
700: '#29246B',
800: '#1E1B46',
900: '#14132B',
},
}
$base: #8E87F7; $base-ink: #141310; $base-50: #F1F0FE; $base-100: #DAD8FD; $base-200: #B7B2FA; $base-300: #867FF0; $base-400: #5A50E2; $base-500: #372DC8; $base-600: #312A98; $base-700: #29246B; $base-800: #1E1B46; $base-900: #14132B; $base-hover: #4B3FF3; $base-subtle: #E1DFF9;
{
"color": {
"base": {
"value": "#8E87F7",
"type": "color"
},
"onBase": {
"value": "#141310",
"type": "color"
},
"scale": {
"50": {
"value": "#F1F0FE",
"type": "color"
},
"100": {
"value": "#DAD8FD",
"type": "color"
},
"200": {
"value": "#B7B2FA",
"type": "color"
},
"300": {
"value": "#867FF0",
"type": "color"
},
"400": {
"value": "#5A50E2",
"type": "color"
},
"500": {
"value": "#372DC8",
"type": "color"
},
"600": {
"value": "#312A98",
"type": "color"
},
"700": {
"value": "#29246B",
"type": "color"
},
"800": {
"value": "#1E1B46",
"type": "color"
},
"900": {
"value": "#14132B",
"type": "color"
}
}
}
}