Violet & Blue, Violet Color Palette — PaletteCSS
Back to palettes

Violet & Blue, Violet Color Palette

#2B2BB1 43, 43, 177
#5026CF 80, 38, 207
#AD66F4 173, 102, 244
#B922EC 185, 34, 236
#2B2BB1
Color 1
#5026CF
Color 2
#AD66F4
Color 3
#B922EC
Color 4
:root {
  --color-1: #2B2BB1;
  --color-2: #5026CF;
  --color-3: #AD66F4;
  --color-4: #B922EC;
}
colors: {
  'palette-1': '#2B2BB1',
  'palette-2': '#5026CF',
  'palette-3': '#AD66F4',
  'palette-4': '#B922EC',
}
const palette = [
  '#2B2BB1',
  '#5026CF',
  '#AD66F4',
  '#B922EC',
];
$color-1: #2B2BB1;
$color-2: #5026CF;
$color-3: #AD66F4;
$color-4: #B922EC;
Palette Codes 4 COLORS

This is a cool, vibrant 4-colour palette mixing related and contrasting tones for a natural feel.

2,192 Views
Added Jun 2026
Copy & Download

About this color palette

This is a cool, vibrant 4-colour palette mixing related and contrasting tones for a natural feel. It is anchored by Violet (#AD66F4) and reads as well balanced in lightness, with an average saturation of 75% and lightness of 53%. It works well for calm, professional and modern interfaces.

The colors in this palette

Blue #2B2BB1

rgb(43, 43, 177) · hsl(240, 61%, 43%)

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

Violet #5026CF

rgb(80, 38, 207) · hsl(255, 69%, 48%)

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

Violet #AD66F4

rgb(173, 102, 244) · hsl(270, 87%, 68%)

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

Violet #B922EC

rgb(185, 34, 236) · hsl(285, 84%, 53%)

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
#2B2BB1 #AD66F4 2.87:1 Fail Fail
#5026CF #AD66F4 2.38:1 Fail Fail
#2B2BB1 #B922EC 2.16:1 Fail Fail
#5026CF #B922EC 1.79:1 Fail Fail
#AD66F4 #B922EC 1.33:1 Fail Fail
#2B2BB1 #5026CF 1.21:1 Fail Fail

How to use these colors

  • Background — Violet (#AD66F4): the lightest tone — a clean base for large areas
  • Text — Blue (#2B2BB1): the darkest tone — readable for body copy and headings
  • Primary — Violet (#B922EC): the most saturated tone — buttons, links and key UI
  • Accent — Violet (#5026CF): 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 (#2B2BB1), Violet (#5026CF), Violet (#AD66F4) and Violet (#B922EC).

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 #2B2BB1, #5026CF, #AD66F4 and #B922EC. 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!