AfoliOpen Afoli →

Pinkish Purple & Very Dark Green

A vivid palette of 4 colors from the Afoli gallery: #232900, #D358DB, #A7B000, #87A7FF.

Open in the Afoli palette generator →

#232900 · Dark Slate Gray#D358DB · Medium Orchid#A7B000 · Yellow Green#87A7FF · Cornflower Blue

Colors in this palette

HEXRGBHSLCMYKNearest named color
#232900rgb(35, 41, 0)hsl(69, 100%, 8%)15, 0, 100, 84≈ Dark Slate Gray
#D358DBrgb(211, 88, 219)hsl(296, 65%, 60%)4, 60, 0, 14≈ Medium Orchid
#A7B000rgb(167, 176, 0)hsl(63, 100%, 35%)5, 0, 100, 31≈ Yellow Green
#87A7FFrgb(135, 167, 255)hsl(224, 100%, 76%)47, 35, 0, 0≈ Cornflower 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 · #D358DB
Button

Roles: background #232900, surface #232900, text #87A7FF, primary #D358DB, accent #A7B000 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background6.48 : 1-53Pass (WCAG)
Text on a card6.48 : 1-53Pass (WCAG)
Button label4.46 : 139Fail
Heading on background4.46 : 1-38Pass (WCAG)
Link on a card4.46 : 1-38Fail
Accent badge on a card6.38 : 1-52Pass
Primary control on background4.46 : 1-38Pass (WCAG)

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 {
  --dark-slate-gray: #232900;
  --medium-orchid: #D358DB;
  --yellow-green: #A7B000;
  --cornflower-blue: #87A7FF;
}

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 Pinkish Purple & Very Dark 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 Pinkish Purple & Very Dark Green can I use for text?

#232900 text on #87A7FF reaches 6.48 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026