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
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #312348 | rgb(49, 35, 72) | hsl(263, 35%, 21%) | 32, 51, 0, 72 | ≈ Midnight Blue |
| #124D6E | rgb(18, 77, 110) | hsl(202, 72%, 25%) | 84, 30, 0, 57 | ≈ Dark Slate Gray |
| #535993 | rgb(83, 89, 147) | hsl(234, 28%, 45%) | 44, 39, 0, 42 | ≈ Dark Slate Blue |
| #6D92CA | rgb(109, 146, 202) | hsl(216, 47%, 61%) | 46, 28, 0, 21 | ≈ Cornflower Blue |
| #AE9CDE | rgb(174, 156, 222) | hsl(256, 50%, 74%) | 22, 30, 0, 13 | ≈ Plum |
| #96C7FE | rgb(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
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 8.12 : 1 | -66 | Pass (WCAG) |
| Text on a card | 5.14 : 1 | -57 | Pass (WCAG) |
| Button label | 5.88 : 1 | 51 | Pass (WCAG) |
| Heading on background | 5.88 : 1 | -50 | Pass (WCAG) |
| Link on a card | 3.72 : 1 | -41 | Fail |
| Accent badge on a card | 2.86 : 1 | -30 | Fail |
| Primary control on background | 5.88 : 1 | -50 | Pass |
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
- Bluey Grey & Dark Blue Grey
- Night Blue & Alice Blue (Mono)
- Marine & Pale Lilac
- Twilight & Light Periwinkle
- Steel Blue & Gainsboro
- Dark Lavender & Lavender
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)