Violet & Blue Color Palette — PaletteCSS
Back to palettes

Violet & Blue Color Palette

#285EA9 40, 94, 169
#546DE8 84, 109, 232
#2517BA 37, 23, 186
#7A41EC 122, 65, 236
#285EA9
Color 1
#546DE8
Color 2
#2517BA
Color 3
#7A41EC
Color 4
:root {
  --color-1: #285EA9;
  --color-2: #546DE8;
  --color-3: #2517BA;
  --color-4: #7A41EC;
}
colors: {
  'palette-1': '#285EA9',
  'palette-2': '#546DE8',
  'palette-3': '#2517BA',
  'palette-4': '#7A41EC',
}
const palette = [
  '#285EA9',
  '#546DE8',
  '#2517BA',
  '#7A41EC',
];
$color-1: #285EA9;
$color-2: #546DE8;
$color-3: #2517BA;
$color-4: #7A41EC;
Palette Codes 4 COLORS

This is a cool, vibrant 4-colour palette with a comfortable balance of contrast and harmony.

873 Views
Added Jun 2026
Copy & Download

About this color palette

This is a cool, vibrant 4-colour palette with a comfortable balance of contrast and harmony. It is anchored by Violet (#7A41EC) and reads as well balanced in lightness, with an average saturation of 74% and lightness of 51%. It works well for calm, professional and modern interfaces.

The colors in this palette

Blue #285EA9

rgb(40, 94, 169) · hsl(215, 62%, 41%)

A balanced mid-tone that works well for primary surfaces and UI elements.

Blue #546DE8

rgb(84, 109, 232) · hsl(230, 76%, 62%)

A vivid, saturated tone that draws the eye — best for accents and highlights.

Blue #2517BA

rgb(37, 23, 186) · hsl(245, 78%, 41%)

A vivid, saturated tone that draws the eye — best for accents and highlights.

Violet #7A41EC

rgb(122, 65, 236) · hsl(260, 82%, 59%)

A vivid, saturated tone that draws the eye — best for accents and highlights.

Accessibility & contrast

Colour contrast decides whether text stays readable. Here is how each pair of colours in this palette performs when one is used as text on the other, measured against the WCAG standard (AA needs 4.5:1, AAA needs 7:1).

TextBackgroundRatioAAAAA
#546DE8 #2517BA 2.48:1 Fail Fail
#2517BA #7A41EC 1.99:1 Fail Fail
#285EA9 #2517BA 1.71:1 Fail Fail
#285EA9 #546DE8 1.45:1 Fail Fail
#546DE8 #7A41EC 1.25:1 Fail Fail
#285EA9 #7A41EC 1.16:1 Fail Fail

How to use these colors

  • Background — Blue (#546DE8): the lightest tone — a clean base for large areas
  • Text — Blue (#285EA9): the darkest tone — readable for body copy and headings
  • Primary — Violet (#7A41EC): the most saturated tone — buttons, links and key UI
  • Accent — Blue (#2517BA): a secondary highlight for badges and details

Colors that pair with this palette

Want to extend this palette? These colours pair naturally with its dominant Violet tone, based on colour-wheel harmony. Tap a swatch to explore that colour family.

Frequently asked questions

What colours are in this palette?

This palette has 4 colours: Blue (#285EA9), Blue (#546DE8), Blue (#2517BA) and Violet (#7A41EC).

Is this a warm or cool colour palette?

It is a cool palette — its tones lean toward blues, greens and purples, which feel calm and modern.

What are the hex codes for this palette?

The hex codes are #285EA9, #546DE8, #2517BA and #7A41EC. You can copy them as CSS variables, Tailwind, SCSS or JSON from the code panel above.

Is this palette accessible for text?

The colours are fairly close in contrast, so pair them carefully for text — put a very light or very dark colour behind body text, and check the contrast table above.

Related Palettes

Copied!