#5162FA 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 #5162FA works with other colors. Named schemes with #5162FA in its natural role, and a note on why the supporting colors balance it.
Iris is the vivid signal in this product UI — on a near-black surface with cool white, a slate grey and a lighter tint of Iris.
Iris opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Iris sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Iris 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 Iris carrying the quiet middle.
Iris glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #5162FA 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 #5162FA at work across the surfaces designers actually ship.
:root {
--color-base: #5162FA;
--color-base-rgb: 81 98 250;
--color-base-oklch: oklch(57.5% 0.225 272.3);
--color-50: #F0F2FE;
--color-100: #D8DCFD;
--color-200: #B1B8FC;
--color-300: #7B87F4;
--color-400: #4B5BE7;
--color-500: #2838CD;
--color-600: #26329B;
--color-700: #21296D;
--color-800: #1A1E47;
--color-900: #12142B;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
iris: {
50: '#F0F2FE',
100: '#D8DCFD',
200: '#B1B8FC',
300: '#7B87F4',
400: '#4B5BE7',
500: '#2838CD',
600: '#26329B',
700: '#21296D',
800: '#1A1E47',
900: '#12142B',
},
}
$base: #5162FA; $base-ink: #FFFFFF; $base-50: #F0F2FE; $base-100: #D8DCFD; $base-200: #B1B8FC; $base-300: #7B87F4; $base-400: #4B5BE7; $base-500: #2838CD; $base-600: #26329B; $base-700: #21296D; $base-800: #1A1E47; $base-900: #12142B; $base-hover: #1229F8; $base-subtle: #D1D5F7;
{
"color": {
"base": {
"value": "#5162FA",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F0F2FE",
"type": "color"
},
"100": {
"value": "#D8DCFD",
"type": "color"
},
"200": {
"value": "#B1B8FC",
"type": "color"
},
"300": {
"value": "#7B87F4",
"type": "color"
},
"400": {
"value": "#4B5BE7",
"type": "color"
},
"500": {
"value": "#2838CD",
"type": "color"
},
"600": {
"value": "#26329B",
"type": "color"
},
"700": {
"value": "#21296D",
"type": "color"
},
"800": {
"value": "#1A1E47",
"type": "color"
},
"900": {
"value": "#12142B",
"type": "color"
}
}
}
}