Bluey Purple & Lavender
A bold palette of 4 colors from the Afoli gallery: #342600, #6E41AF, #7D9FE1, #E7E2FF.
Open in the Afoli palette generator →
#342600 · Dark Slate Gray#6E41AF · Rebecca Purple#7D9FE1 · Cornflower Blue#E7E2FF · Lavender
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #342600 | rgb(52, 38, 0) | hsl(44, 100%, 10%) | 0, 27, 100, 80 | ≈ Dark Slate Gray |
| #6E41AF | rgb(110, 65, 175) | hsl(265, 46%, 47%) | 37, 63, 0, 31 | ≈ Rebecca Purple |
| #7D9FE1 | rgb(125, 159, 225) | hsl(220, 63%, 69%) | 44, 29, 0, 12 | ≈ Cornflower Blue |
| #E7E2FF | rgb(231, 226, 255) | hsl(250, 100%, 94%) | 9, 11, 0, 0 | ≈ 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 · #7D9FE1
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 11.75 : 1 | -88 | Pass |
| Text on a card | 11.75 : 1 | -88 | Pass |
| Button label | 5.56 : 1 | 48 | Pass (WCAG) |
| Heading on background | 5.56 : 1 | -47 | Pass (WCAG) |
| Link on a card | 5.56 : 1 | -47 | Pass (WCAG) |
| Accent badge on a card | 2.13 : 1 | -15 | Fail |
| Primary control on background | 5.56 : 1 | -47 | Pass |
CSS variables
:root {
--dark-slate-gray: #342600;
--rebecca-purple: #6E41AF;
--cornflower-blue: #7D9FE1;
--lavender: #E7E2FF;
}
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 Bluey Purple & 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 Bluey Purple & Lavender can I use for text?
#342600 text on #E7E2FF reaches 11.75 : 1, the strongest pair of the palette.
Similar palettes
- Blue Blue & Bisque
- Carolina Blue & Dark Olive
- Perrywinkle & Almost Black
- Pale Purple & Charcoal
- Windows Blue & Lavender
- Icky Green & Very Dark Green
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)