AfoliOpen Afoli →

Dark Purple & Pale Sky Blue

A calm palette of 5 colors from the Afoli gallery: #281540, #624773, #8F74A5, #90BFD8, #CEEFFF.

Open in the Afoli palette generator →

#281540 · Midnight Blue#624773 · Dark Slate Blue#8F74A5 · Slate Gray#90BFD8 · Sky Blue#CEEFFF · Lavender

Colors in this palette

HEXRGBHSLCMYKNearest named color
#281540rgb(40, 21, 64)hsl(267, 51%, 17%)38, 67, 0, 75≈ Midnight Blue
#624773rgb(98, 71, 115)hsl(277, 24%, 36%)15, 38, 0, 55≈ Dark Slate Blue
#8F74A5rgb(143, 116, 165)hsl(273, 21%, 55%)13, 30, 0, 35≈ Slate Gray
#90BFD8rgb(144, 191, 216)hsl(201, 48%, 71%)33, 12, 0, 15≈ Sky Blue
#CEEFFFrgb(206, 239, 255)hsl(200, 100%, 90%)19, 6, 0, 0≈ Lavender

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 · #8F74A5
Button

Roles: background #CEEFFF, surface #90BFD8, text #281540, primary #8F74A5, accent #624773 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background13.70 : 191Pass
Text on a card8.36 : 163Pass (WCAG)
Button label4.10 : 134Fail
Heading on background3.34 : 155Pass (WCAG)
Link on a card2.04 : 127Fail
Accent badge on a card3.98 : 147Pass
Primary control on background3.34 : 155Pass

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: #281540;
  --dark-slate-blue: #624773;
  --slate-gray: #8F74A5;
  --sky-blue: #90BFD8;
  --lavender: #CEEFFF;
}

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 Dark Purple & Pale Sky Blue 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 Dark Purple & Pale Sky Blue can I use for text?

#281540 text on #CEEFFF reaches 13.70 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026