PreviewingGo to this paletteOpen in generator
Code
/* Purple Dawn — colorset.net */
:root {
--color-1: #8844CC;
--color-2: #9955DD;
--color-3: #AA66EE;
--color-4: #BB77FF;
--color-5: #CC88FF;
--color-bg: #FAF4FF;
--color-surface: #F1EAF8;
--color-border: #DAD1E2;
--color-text: #5A4278;
--color-muted: #70667F;
--color-primary: #9652DA;
--color-on-primary: #FFFFFF;
--color-accent: #602695;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130B1C;
--color-surface: #1D1527;
--color-border: #32293E;
--color-text: #B5A3C4;
--color-muted: #8B7D96;
--color-primary: #9652DA;
--color-on-primary: #FFFFFF;
--color-accent: #CC88FF;
--color-on-accent: #130B1C;
}
}
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 | adjusted for contrast · from #CC88FF | adjusted for contrast · from #8844CC |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8844CC | adjusted for contrast · from #CC88FF |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #9955DD | adjusted for contrast · from #9955DD |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8844CC | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.83:1 | AAA pass 4.5:1 | |
| Text on surface | 7.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 9.51:1 | AAA pass 4.5:1 | |
| Primary on background | 4.31:1 | AA Large pass 3:1 | |
| Accent on background | 8.81:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.24:1 | AAA pass 4.5:1 | |
| Text on surface | 7.57:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 7.81:1 | AAA pass 4.5:1 | |
| Primary on background | 4.13:1 | AA Large pass 3:1 | |
| Accent on background | 7.81: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 | #8844CC (Text 1) | #9955DD (Text 2) | #AA66EE (Text 3) | #BB77FF (Text 4) | #CC88FF (Text 5) |
|---|---|---|---|---|---|
| #8844CC | Same color | 1.25— | 1.56— | 1.92— | 2.28— |
| #9955DD | 1.25— | Same color | 1.24— | 1.53— | 1.82— |
| #AA66EE | 1.56— | 1.24— | Same color | 1.23— | 1.46— |
| #BB77FF | 1.92— | 1.53— | 1.23— | Same color | 1.19— |
| #CC88FF | 2.28— | 1.82— | 1.46— | 1.19— | Same color |
Shades
Shades and tints (50–950)
