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
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #001E1C | rgb(0, 30, 28) | hsl(176, 100%, 6%) | 100, 0, 7, 88 | ≈ Midnight Blue |
| #7F2686 | rgb(127, 38, 134) | hsl(296, 56%, 34%) | 5, 72, 0, 47 | ≈ Purple |
| #5DA26C | rgb(93, 162, 108) | hsl(133, 27%, 50%) | 43, 0, 33, 36 | ≈ Medium Sea Green |
| #A6F8A4 | rgb(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
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 13.79 : 1 | 89 | Pass |
| Text on a card | 13.79 : 1 | 89 | Pass |
| Button label | 6.57 : 1 | -75 | Pass |
| Heading on background | 6.57 : 1 | 72 | Pass |
| Link on a card | 6.57 : 1 | 72 | Pass (WCAG) |
| Accent badge on a card | 2.42 : 1 | 42 | Fail |
| Primary control on background | 6.57 : 1 | 72 | Pass |
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
- Pale Lime & Very Dark Green
- Medium Green & Deep Purple
- Violet & Dark Forest Green (Bold)
- Celadon & Almost Black
- Moss & Dark Slate Blue
- Turquoise & Almost Black
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)