AfoliOpen Afoli →

Purple & Light Pastel Green

A bold palette of 4 colors from the Afoli gallery: #001E1C, #7F2686, #5DA26C, #A6F8A4.

Open in the Afoli palette generator →

#001E1C · Midnight Blue#7F2686 · Purple#5DA26C · Medium Sea Green#A6F8A4 · Pale Green

Colors in this palette

HEXRGBHSLCMYKNearest named color
#001E1Crgb(0, 30, 28)hsl(176, 100%, 6%)100, 0, 7, 88≈ Midnight Blue
#7F2686rgb(127, 38, 134)hsl(296, 56%, 34%)5, 72, 0, 47≈ Purple
#5DA26Crgb(93, 162, 108)hsl(133, 27%, 50%)43, 0, 33, 36≈ Medium Sea Green
#A6F8A4rgb(166, 248, 164)hsl(119, 86%, 81%)33, 0, 34, 3≈ Pale Green

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 · #7F2686
Button

Roles: background #A6F8A4, surface #A6F8A4, text #001E1C, primary #7F2686, accent #5DA26C (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background13.79 : 189Pass
Text on a card13.79 : 189Pass
Button label6.57 : 1-75Pass
Heading on background6.57 : 172Pass
Link on a card6.57 : 172Pass (WCAG)
Accent badge on a card2.42 : 142Fail
Primary control on background6.57 : 172Pass

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: #001E1C;
  --purple: #7F2686;
  --medium-sea-green: #5DA26C;
  --pale-green: #A6F8A4;
}

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 Purple & Light Pastel Green 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 Purple & Light Pastel Green can I use for text?

#001E1C text on #A6F8A4 reaches 13.79 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026