PreviewingGo to this paletteOpen in generator
Code
/* Palm Silhouette — colorset.net */
:root {
--color-1: #2B1A47;
--color-2: #FF6F91;
--color-3: #FFC75F;
--color-4: #503C7A;
--color-5: #FFF1E6;
--color-bg: #FFF1E6;
--color-surface: #FFFAF6;
--color-border: #E9D8CA;
--color-text: #2B1A47;
--color-muted: #716A83;
--color-primary: #E95C7F;
--color-on-primary: #2B1A47;
--color-accent: #503C7A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #110C1C;
--color-surface: #1B1626;
--color-border: #302A3E;
--color-text: #FFF1E6;
--color-muted: #94877D;
--color-primary: #FF6F91;
--color-on-primary: #110C1C;
--color-accent: #6D5D90;
--color-on-accent: #FFFFFF;
}
}
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 5 | adjusted for contrast · from #2B1A47 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF6F91 | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 4 | adjusted for contrast · from #503C7A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.15:1 | AAA pass 4.5:1 | |
| Text on surface | 15.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.64:1 | AA pass 4.5:1 | |
| Label on primary | 4.70:1 | AA pass 4.5:1 | |
| Label on accent | 9.26:1 | AAA pass 4.5:1 | |
| Primary on background | 3.01:1 | AA Large pass 3:1 | |
| Accent on background | 8.37:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.36:1 | AAA pass 4.5:1 | |
| Text on surface | 15.96:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.51:1 | AA pass 4.5:1 | |
| Label on primary | 7.26:1 | AAA pass 4.5:1 | |
| Label on accent | 5.80:1 | AA pass 4.5:1 | |
| Primary on background | 7.26:1 | AAA pass 3:1 | |
| Accent on background | 3.31:1 | AA Large 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 | #2B1A47 (Text 1) | #FF6F91 (Text 2) | #FFC75F (Text 3) | #503C7A (Text 4) | #FFF1E6 (Text 5) |
|---|---|---|---|---|---|
| #2B1A47 | Same color | 5.91AA | 10.13AAA | 1.69— | 14.15AAA |
| #FF6F91 | 5.91AA | Same color | 1.71— | 3.50AA Large | 2.39— |
| #FFC75F | 10.13AAA | 1.71— | Same color | 5.99AA | 1.40— |
| #503C7A | 1.69— | 3.50AA Large | 5.99AA | Same color | 8.37AAA |
| #FFF1E6 | 14.15AAA | 2.39— | 1.40— | 8.37AAA | Same color |
Shades
Shades and tints (50–950)
