AfoliOpen Afoli →

Pale Purple & Dark Purple

A earthy palette of 6 colors from the Afoli gallery: #312348, #124D6E, #535993, #6D92CA, #AE9CDE, #96C7FE.

Open in the Afoli palette generator →

#312348 · Midnight Blue#124D6E · Dark Slate Gray#535993 · Dark Slate Blue#6D92CA · Cornflower Blue#AE9CDE · Plum#96C7FE · Light Sky Blue

Colors in this palette

HEXRGBHSLCMYKNearest named color
#312348rgb(49, 35, 72)hsl(263, 35%, 21%)32, 51, 0, 72≈ Midnight Blue
#124D6Ergb(18, 77, 110)hsl(202, 72%, 25%)84, 30, 0, 57≈ Dark Slate Gray
#535993rgb(83, 89, 147)hsl(234, 28%, 45%)44, 39, 0, 42≈ Dark Slate Blue
#6D92CArgb(109, 146, 202)hsl(216, 47%, 61%)46, 28, 0, 21≈ Cornflower Blue
#AE9CDErgb(174, 156, 222)hsl(256, 50%, 74%)22, 30, 0, 13≈ Plum
#96C7FErgb(150, 199, 254)hsl(212, 98%, 79%)41, 22, 0, 0≈ Light Sky Blue

Preview in a UI

A heading in the primary color

Body text on the background, as a page or an app would show it.

Text on a card · #AE9CDE
Button

Roles: background #312348, surface #124D6E, text #96C7FE, primary #AE9CDE, accent #6D92CA (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background8.12 : 1-66Pass (WCAG)
Text on a card5.14 : 1-57Pass (WCAG)
Button label5.88 : 151Pass (WCAG)
Heading on background5.88 : 1-50Pass (WCAG)
Link on a card3.72 : 1-41Fail
Accent badge on a card2.86 : 1-30Fail
Primary control on background5.88 : 1-50Pass

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

CSS variables

:root {
  --midnight-blue: #312348;
  --dark-slate-gray: #124D6E;
  --dark-slate-blue: #535993;
  --cornflower-blue: #6D92CA;
  --plum: #AE9CDE;
  --light-sky-blue: #96C7FE;
}

How this palette was made

Afoli generated it from a fixed seed and kept it because it passes the gallery rules: every color is clearly distinct, one pair reaches 4.5 : 1 for text and the colors span a wide light-to-dark range. It is free to use (CC0).

Frequently asked questions

How do I use the Pale Purple & Dark Purple palette in CSS?

Copy the CSS variables on this page, or open the palette in the Afoli generator to export Tailwind, JSON, SVG, PNG or Adobe ASE.

Which colors of Pale Purple & Dark Purple can I use for text?

#312348 text on #96C7FE reaches 8.12 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026