PreviewingGo to this paletteOpen in generator
Code
/* Sunset Webinar — colorset.net */
:root {
--color-1: #161227;
--color-2: #F97C3D;
--color-3: #956ED2;
--color-4: #383255;
--color-5: #F6ECE5;
--color-bg: #F6ECE5;
--color-surface: #FAF4F0;
--color-border: #E0D3C9;
--color-text: #161227;
--color-muted: #67647D;
--color-primary: #8962C5;
--color-on-primary: #FFFFFF;
--color-accent: #C65100;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #161227;
--color-surface: #201C32;
--color-border: #353248;
--color-text: #F6ECE5;
--color-muted: #918882;
--color-primary: #8962C5;
--color-on-primary: #FFFFFF;
--color-accent: #F97C3D;
--color-on-accent: #161227;
}
}
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 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #956ED2 | adjusted for contrast · from #956ED2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F97C3D | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.69:1 | AAA pass 4.5:1 | |
| Text on surface | 16.75:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.88:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 4.59:1 | AA pass 4.5:1 | |
| Primary on background | 3.91:1 | AA Large pass 3:1 | |
| Accent on background | 3.94:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.69:1 | AAA pass 4.5:1 | |
| Text on surface | 14.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.26:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 6.94:1 | AA pass 4.5:1 | |
| Primary on background | 4.02:1 | AA Large pass 3:1 | |
| Accent on background | 6.94:1 | AA 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 | #161227 (Text 1) | #F97C3D (Text 2) | #956ED2 (Text 3) | #383255 (Text 4) | #F6ECE5 (Text 5) |
|---|---|---|---|---|---|
| #161227 | Same color | 6.94AA | 4.73AA | 1.53— | 15.69AAA |
| #F97C3D | 6.94AA | Same color | 1.47— | 4.54AA | 2.26— |
| #956ED2 | 4.73AA | 1.47— | Same color | 3.10AA Large | 3.32AA Large |
| #383255 | 1.53— | 4.54AA | 3.10AA Large | Same color | 10.28AAA |
| #F6ECE5 | 15.69AAA | 2.26— | 3.32AA Large | 10.28AAA | Same color |
Shades
Shades and tints (50–950)
