PreviewingGo to this paletteOpen in generator
Code
/* Glitter Gel Pen — colorset.net */
:root {
--color-1: #241933;
--color-2: #B88CFF;
--color-3: #7FF2D3;
--color-4: #45385C;
--color-5: #F4EEFF;
--color-bg: #F4EEFF;
--color-surface: #FAF7FF;
--color-border: #DCD5E9;
--color-text: #241933;
--color-muted: #716780;
--color-primary: #9F73E4;
--color-on-primary: #241933;
--color-accent: #0D9B7F;
--color-on-accent: #241933;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #241933;
--color-surface: #2F243F;
--color-border: #443B52;
--color-text: #F4EEFF;
--color-muted: #948E9E;
--color-primary: #B88CFF;
--color-on-primary: #241933;
--color-accent: #7FF2D3;
--color-on-accent: #241933;
}
}
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 #B88CFF | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #7FF2D3 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.68:1 | AAA pass 4.5:1 | |
| Text on surface | 15.70:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.68:1 | AA pass 4.5:1 | |
| Label on primary | 4.79:1 | AA pass 4.5:1 | |
| Label on accent | 4.76:1 | AA pass 4.5:1 | |
| Primary on background | 3.06:1 | AA Large pass 3:1 | |
| Accent on background | 3.08:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.68:1 | AAA pass 4.5:1 | |
| Text on surface | 12.82:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.25:1 | AA pass 4.5:1 | |
| Label on primary | 6.52:1 | AA pass 4.5:1 | |
| Label on accent | 12.32:1 | AAA pass 4.5:1 | |
| Primary on background | 6.52:1 | AA pass 3:1 | |
| Accent on background | 12.32: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 | #241933 (Text 1) | #B88CFF (Text 2) | #7FF2D3 (Text 3) | #45385C (Text 4) | #F4EEFF (Text 5) |
|---|---|---|---|---|---|
| #241933 | Same color | 6.52AA | 12.32AAA | 1.56— | 14.68AAA |
| #B88CFF | 6.52AA | Same color | 1.89— | 4.17AA Large | 2.25— |
| #7FF2D3 | 12.32AAA | 1.89— | Same color | 7.88AAA | 1.19— |
| #45385C | 1.56— | 4.17AA Large | 7.88AAA | Same color | 9.39AAA |
| #F4EEFF | 14.68AAA | 2.25— | 1.19— | 9.39AAA | Same color |
Shades
Shades and tints (50–950)
