#797FF2 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 #797FF2 works with other colors. Named schemes with #797FF2 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 #797FF2 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 #797FF2 at work across the surfaces designers actually ship.
:root {
--color-base: #797FF2;
--color-base-rgb: 121 127 242;
--color-base-oklch: oklch(64.6% 0.169 278.3);
--color-50: #F0F1FE;
--color-100: #D9DBFC;
--color-200: #B5B8F8;
--color-300: #8388ED;
--color-400: #555CDD;
--color-500: #3239C3;
--color-600: #2E3394;
--color-700: #262A69;
--color-800: #1D1F44;
--color-900: #14152A;
--color-on-base: #141310;
}
// tailwind.config.js
colors: {
medium-slate-blue: {
50: '#F0F1FE',
100: '#D9DBFC',
200: '#B5B8F8',
300: '#8388ED',
400: '#555CDD',
500: '#3239C3',
600: '#2E3394',
700: '#262A69',
800: '#1D1F44',
900: '#14152A',
},
}
$base: #797FF2; $base-ink: #141310; $base-50: #F0F1FE; $base-100: #D9DBFC; $base-200: #B5B8F8; $base-300: #8388ED; $base-400: #555CDD; $base-500: #3239C3; $base-600: #2E3394; $base-700: #262A69; $base-800: #1D1F44; $base-900: #14152A; $base-hover: #3740EB; $base-subtle: #DBDCF7;
{
"color": {
"base": {
"value": "#797FF2",
"type": "color"
},
"onBase": {
"value": "#141310",
"type": "color"
},
"scale": {
"50": {
"value": "#F0F1FE",
"type": "color"
},
"100": {
"value": "#D9DBFC",
"type": "color"
},
"200": {
"value": "#B5B8F8",
"type": "color"
},
"300": {
"value": "#8388ED",
"type": "color"
},
"400": {
"value": "#555CDD",
"type": "color"
},
"500": {
"value": "#3239C3",
"type": "color"
},
"600": {
"value": "#2E3394",
"type": "color"
},
"700": {
"value": "#262A69",
"type": "color"
},
"800": {
"value": "#1D1F44",
"type": "color"
},
"900": {
"value": "#14152A",
"type": "color"
}
}
}
}