PreviewingGo to this paletteOpen in generator
Code
/* Paper Lantern — colorset.net */
:root {
--color-1: #FBF1DC;
--color-2: #FFD8C3;
--color-3: #FFCCCB;
--color-4: #B0EED7;
--color-5: #B4B9EB;
--color-bg: #FBF1DC;
--color-surface: #FFF9EC;
--color-border: #E4D8C0;
--color-text: #4B4E79;
--color-muted: #696C85;
--color-primary: #8387B7;
--color-on-primary: #000000;
--color-accent: #5C9783;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D0E1C;
--color-surface: #171826;
--color-border: #2A2C3E;
--color-text: #FBF1DC;
--color-muted: #918875;
--color-primary: #B4B9EB;
--color-on-primary: #0D0E1C;
--color-accent: #B0EED7;
--color-on-accent: #0D0E1C;
}
}
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 #B4B9EB |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B4B9EB | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B4B9EB | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B4B9EB | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.02:1 | AAA pass 4.5:1 | |
| Text on surface | 7.51:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.58:1 | AA pass 4.5:1 | |
| Label on primary | 6.11:1 | AA pass 4.5:1 | |
| Label on accent | 6.21:1 | AA pass 4.5:1 | |
| Primary on background | 3.06:1 | AA Large pass 3:1 | |
| Accent on background | 3.01:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.07:1 | AAA pass 4.5:1 | |
| Text on surface | 15.66:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.46:1 | AA pass 4.5:1 | |
| Label on primary | 10.10:1 | AAA pass 4.5:1 | |
| Label on accent | 14.64:1 | AAA pass 4.5:1 | |
| Primary on background | 10.10:1 | AAA pass 3:1 | |
| Accent on background | 14.64: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 | #FBF1DC (Text 1) | #FFD8C3 (Text 2) | #FFCCCB (Text 3) | #B0EED7 (Text 4) | #B4B9EB (Text 5) |
|---|---|---|---|---|---|
| #FBF1DC | Same color | 1.18— | 1.27— | 1.17— | 1.69— |
| #FFD8C3 | 1.18— | Same color | 1.08— | 1.01— | 1.43— |
| #FFCCCB | 1.27— | 1.08— | Same color | 1.09— | 1.33— |
| #B0EED7 | 1.17— | 1.01— | 1.09— | Same color | 1.45— |
| #B4B9EB | 1.69— | 1.43— | 1.33— | 1.45— | Same color |
Shades
Shades and tints (50–950)
