#787CF7 is a mid-toned, cool violet. 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 #787CF7 works with other colors. Named schemes with #787CF7 in its natural role, and a note on why the supporting colors balance it.
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 keeps this Nordic scheme quiet — cool greys and a soft white around it, a muted-blue support and a charcoal anchor.
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 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 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 #787CF7 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 #787CF7 at work across the surfaces designers actually ship.
:root {
--color-base: #787CF7;
--color-base-rgb: 120 124 247;
--color-base-oklch: oklch(64.3% 0.180 278.7);
--color-50: #F0F1FE;
--color-100: #D8D9FD;
--color-200: #B2B4FA;
--color-300: #7E82F1;
--color-400: #4F54E3;
--color-500: #2C31C9;
--color-600: #2A2D98;
--color-700: #23266B;
--color-800: #1B1C46;
--color-900: #13132B;
--color-on-base: #141310;
}
// tailwind.config.js
colors: {
medium-slate-blue: {
50: '#F0F1FE',
100: '#D8D9FD',
200: '#B2B4FA',
300: '#7E82F1',
400: '#4F54E3',
500: '#2C31C9',
600: '#2A2D98',
700: '#23266B',
800: '#1B1C46',
900: '#13132B',
},
}
$base: #787CF7; $base-ink: #141310; $base-50: #F0F1FE; $base-100: #D8D9FD; $base-200: #B2B4FA; $base-300: #7E82F1; $base-400: #4F54E3; $base-500: #2C31C9; $base-600: #2A2D98; $base-700: #23266B; $base-800: #1B1C46; $base-900: #13132B; $base-hover: #3339F3; $base-subtle: #DBDCF8;
{
"color": {
"base": {
"value": "#787CF7",
"type": "color"
},
"onBase": {
"value": "#141310",
"type": "color"
},
"scale": {
"50": {
"value": "#F0F1FE",
"type": "color"
},
"100": {
"value": "#D8D9FD",
"type": "color"
},
"200": {
"value": "#B2B4FA",
"type": "color"
},
"300": {
"value": "#7E82F1",
"type": "color"
},
"400": {
"value": "#4F54E3",
"type": "color"
},
"500": {
"value": "#2C31C9",
"type": "color"
},
"600": {
"value": "#2A2D98",
"type": "color"
},
"700": {
"value": "#23266B",
"type": "color"
},
"800": {
"value": "#1B1C46",
"type": "color"
},
"900": {
"value": "#13132B",
"type": "color"
}
}
}
}