PreviewingGo to this paletteOpen in generator
Code
/* Magnolia Petal — colorset.net */
:root {
--color-1: #F8F4FF;
--color-2: #F3EFFA;
--color-3: #EEEAF5;
--color-4: #E9E5F0;
--color-5: #E4E0EB;
--color-bg: #F8F4FF;
--color-surface: #EFEBF6;
--color-border: #D7D1E0;
--color-text: #4F4C55;
--color-muted: #6C6872;
--color-primary: #89858F;
--color-on-primary: #000000;
--color-accent: #58545C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #100F12;
--color-surface: #1A191C;
--color-border: #2F2D33;
--color-text: #F8F4FF;
--color-muted: #8C8993;
--color-primary: #E4E0EB;
--color-on-primary: #100F12;
--color-accent: #ADAAB3;
--color-on-accent: #100F12;
}
}
Color values
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | from palette · color 1 | adjusted for contrast · from #E4E0EB |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #E4E0EB | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E4E0EB | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E4E0EB | adjusted for contrast · from #E4E0EB |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.76:1 | AAA pass 4.5:1 | |
| Text on surface | 7.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 5.82:1 | AA pass 4.5:1 | |
| Label on accent | 7.40:1 | AAA pass 4.5:1 | |
| Primary on background | 3.33:1 | AA Large pass 3:1 | |
| Accent on background | 6.83:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.63:1 | AAA pass 4.5:1 | |
| Text on surface | 16.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.56:1 | AA pass 4.5:1 | |
| Label on primary | 14.70:1 | AAA pass 4.5:1 | |
| Label on accent | 8.35:1 | AAA pass 4.5:1 | |
| Primary on background | 14.70:1 | AAA pass 3:1 | |
| Accent on background | 8.35:1 | AAA pass 3:1 |
Every color on every color
Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.
| Background / Text | #F8F4FF (Text 1) | #F3EFFA (Text 2) | #EEEAF5 (Text 3) | #E9E5F0 (Text 4) | #E4E0EB (Text 5) |
|---|---|---|---|---|---|
| #F8F4FF | Same color | 1.05— | 1.09— | 1.14— | 1.20— |
| #F3EFFA | 1.05— | Same color | 1.05— | 1.09— | 1.15— |
| #EEEAF5 | 1.09— | 1.05— | Same color | 1.05— | 1.10— |
| #E9E5F0 | 1.14— | 1.09— | 1.05— | Same color | 1.05— |
| #E4E0EB | 1.20— | 1.15— | 1.10— | 1.05— | Same color |
Shades
Shades and tints (50–950)
