Grape & Lavender
A calm palette of 6 colors from the Afoli gallery: #3F1543, #642C52, #72687B, #9898BD, #C2C4DA, #F6DCF6.
Open in the Afoli palette generator →
#3F1543 · Midnight Blue#642C52 · Purple#72687B · Dim Gray#9898BD · Dark Gray#C2C4DA · Light Steel Blue#F6DCF6 · Lavender
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #3F1543 | rgb(63, 21, 67) | hsl(295, 52%, 17%) | 6, 69, 0, 74 | ≈ Midnight Blue |
| #642C52 | rgb(100, 44, 82) | hsl(319, 39%, 28%) | 0, 56, 18, 61 | ≈ Purple |
| #72687B | rgb(114, 104, 123) | hsl(272, 8%, 45%) | 7, 15, 0, 52 | ≈ Dim Gray |
| #9898BD | rgb(152, 152, 189) | hsl(240, 22%, 67%) | 20, 20, 0, 26 | ≈ Dark Gray |
| #C2C4DA | rgb(194, 196, 218) | hsl(235, 24%, 81%) | 11, 10, 0, 15 | ≈ Light Steel Blue |
| #F6DCF6 | rgb(246, 220, 246) | hsl(300, 59%, 91%) | 0, 11, 0, 4 | ≈ 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 · #642C52
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 11.78 : 1 | 85 | Pass |
| Text on a card | 8.72 : 1 | 68 | Pass (WCAG) |
| Button label | 8.15 : 1 | -80 | Pass |
| Heading on background | 8.15 : 1 | 78 | Pass |
| Link on a card | 6.03 : 1 | 60 | Pass (WCAG) |
| Accent badge on a card | 1.61 : 1 | 20 | Fail |
| Primary control on background | 8.15 : 1 | 78 | Pass |
CSS variables
:root {
--midnight-blue: #3F1543;
--purple: #642C52;
--dim-gray: #72687B;
--dark-gray: #9898BD;
--light-steel-blue: #C2C4DA;
--lavender: #F6DCF6;
}
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 Grape & Lavender 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 Grape & Lavender can I use for text?
#3F1543 text on #F6DCF6 reaches 11.78 : 1, the strongest pair of the palette.
Similar palettes
- Dark Mauve & Lavender
- Dark Slate Blue & Lavender Blush
- Pale Purple & Charcoal
- Marine & Pale Lilac
- Grape Purple & Pale Mauve (Mono)
- Dull Purple & Light 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)