#797FED 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 #797FED works with other colors. Named schemes with #797FED in its natural role, and a note on why the supporting colors balance it.
Medium Purple opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Medium Purple keeps this Nordic scheme quiet — cool greys and a soft white around it, a muted-blue support and a charcoal anchor.
Medium Purple 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 Purple carrying the quiet middle.
Medium Purple 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 Purple.
Medium Purple 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 #797FED 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 #797FED at work across the surfaces designers actually ship.
:root {
--color-base: #797FED;
--color-base-rgb: 121 127 237;
--color-base-oklch: oklch(64.3% 0.162 278.5);
--color-50: #F1F2FE;
--color-100: #DADCFB;
--color-200: #B7BAF5;
--color-300: #878BE9;
--color-400: #5A60D8;
--color-500: #373EBD;
--color-600: #323690;
--color-700: #292C66;
--color-800: #1E2043;
--color-900: #141529;
--color-on-base: #141310;
}
// tailwind.config.js
colors: {
medium-purple: {
50: '#F1F2FE',
100: '#DADCFB',
200: '#B7BAF5',
300: '#878BE9',
400: '#5A60D8',
500: '#373EBD',
600: '#323690',
700: '#292C66',
800: '#1E2043',
900: '#141529',
},
}
$base: #797FED; $base-ink: #141310; $base-50: #F1F2FE; $base-100: #DADCFB; $base-200: #B7BAF5; $base-300: #878BE9; $base-400: #5A60D8; $base-500: #373EBD; $base-600: #323690; $base-700: #292C66; $base-800: #1E2043; $base-900: #141529; $base-hover: #3A42E4; $base-subtle: #DBDCF5;
{
"color": {
"base": {
"value": "#797FED",
"type": "color"
},
"onBase": {
"value": "#141310",
"type": "color"
},
"scale": {
"50": {
"value": "#F1F2FE",
"type": "color"
},
"100": {
"value": "#DADCFB",
"type": "color"
},
"200": {
"value": "#B7BAF5",
"type": "color"
},
"300": {
"value": "#878BE9",
"type": "color"
},
"400": {
"value": "#5A60D8",
"type": "color"
},
"500": {
"value": "#373EBD",
"type": "color"
},
"600": {
"value": "#323690",
"type": "color"
},
"700": {
"value": "#292C66",
"type": "color"
},
"800": {
"value": "#1E2043",
"type": "color"
},
"900": {
"value": "#141529",
"type": "color"
}
}
}
}