#797BF7 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 #797BF7 works with other colors. Named schemes with #797BF7 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 #797BF7 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 #797BF7 at work across the surfaces designers actually ship.
:root {
--color-base: #797BF7;
--color-base-rgb: 121 123 247;
--color-base-oklch: oklch(64.2% 0.181 279.3);
--color-50: #F0F1FE;
--color-100: #D8D8FD;
--color-200: #B2B3FA;
--color-300: #7E80F1;
--color-400: #4F52E3;
--color-500: #2C2FC9;
--color-600: #2A2B98;
--color-700: #23256B;
--color-800: #1B1C46;
--color-900: #13132B;
--color-on-base: #141310;
}
// tailwind.config.js
colors: {
medium-slate-blue: {
50: '#F0F1FE',
100: '#D8D8FD',
200: '#B2B3FA',
300: '#7E80F1',
400: '#4F52E3',
500: '#2C2FC9',
600: '#2A2B98',
700: '#23256B',
800: '#1B1C46',
900: '#13132B',
},
}
$base: #797BF7; $base-ink: #141310; $base-50: #F0F1FE; $base-100: #D8D8FD; $base-200: #B2B3FA; $base-300: #7E80F1; $base-400: #4F52E3; $base-500: #2C2FC9; $base-600: #2A2B98; $base-700: #23256B; $base-800: #1B1C46; $base-900: #13132B; $base-hover: #3336F3; $base-subtle: #DBDCF8;
{
"color": {
"base": {
"value": "#797BF7",
"type": "color"
},
"onBase": {
"value": "#141310",
"type": "color"
},
"scale": {
"50": {
"value": "#F0F1FE",
"type": "color"
},
"100": {
"value": "#D8D8FD",
"type": "color"
},
"200": {
"value": "#B2B3FA",
"type": "color"
},
"300": {
"value": "#7E80F1",
"type": "color"
},
"400": {
"value": "#4F52E3",
"type": "color"
},
"500": {
"value": "#2C2FC9",
"type": "color"
},
"600": {
"value": "#2A2B98",
"type": "color"
},
"700": {
"value": "#23256B",
"type": "color"
},
"800": {
"value": "#1B1C46",
"type": "color"
},
"900": {
"value": "#13132B",
"type": "color"
}
}
}
}