PreviewingGo to this paletteOpen in generator
Code
/* Unity Purple — colorset.net */
:root {
--color-1: #F7F5FE;
--color-2: #6741B1;
--color-3: #4EB9AD;
--color-4: #D3CBEF;
--color-5: #171226;
--color-bg: #F7F5FE;
--color-surface: #EEECF5;
--color-border: #D5D3DF;
--color-text: #171226;
--color-muted: #6B667F;
--color-primary: #6741B1;
--color-on-primary: #FFFFFF;
--color-accent: #008479;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #171226;
--color-surface: #211C31;
--color-border: #363148;
--color-text: #F7F5FE;
--color-muted: #8F8D96;
--color-primary: #7854C5;
--color-on-primary: #FFFFFF;
--color-accent: #4EB9AD;
--color-on-accent: #171226;
}
}
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 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #6741B1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #4EB9AD | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.90:1 | AAA pass 4.5:1 | |
| Text on surface | 15.60:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 7.08:1 | AAA pass 4.5:1 | |
| Label on accent | 4.59:1 | AA pass 4.5:1 | |
| Primary on background | 6.55:1 | AA pass 3:1 | |
| Accent on background | 4.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.90:1 | AAA pass 4.5:1 | |
| Text on surface | 15.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.58:1 | AA pass 4.5:1 | |
| Label on primary | 5.42:1 | AA pass 4.5:1 | |
| Label on accent | 7.70:1 | AAA pass 4.5:1 | |
| Primary on background | 3.37:1 | AA Large pass 3:1 | |
| Accent on background | 7.70: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 | #F7F5FE (Text 1) | #6741B1 (Text 2) | #4EB9AD (Text 3) | #D3CBEF (Text 4) | #171226 (Text 5) |
|---|---|---|---|---|---|
| #F7F5FE | Same color | 6.55AA | 2.19— | 1.43— | 16.90AAA |
| #6741B1 | 6.55AA | Same color | 2.99— | 4.57AA | 2.58— |
| #4EB9AD | 2.19— | 2.99— | Same color | 1.53— | 7.70AAA |
| #D3CBEF | 1.43— | 4.57AA | 1.53— | Same color | 11.78AAA |
| #171226 | 16.90AAA | 2.58— | 7.70AAA | 11.78AAA | Same color |
Shades
Shades and tints (50–950)
