PreviewingGo to this paletteOpen in generator
Code
/* Ultraviolet Glow — colorset.net */
:root {
--color-1: #AA00FF;
--color-2: #B41AFF;
--color-3: #BE33FF;
--color-4: #C84DFF;
--color-5: #D266FF;
--color-bg: #FBF4FF;
--color-surface: #F3EAF7;
--color-border: #DBD0E1;
--color-text: #5D4276;
--color-muted: #72667E;
--color-primary: #AA00FF;
--color-on-primary: #FFFFFF;
--color-accent: #AE40D9;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130B1B;
--color-surface: #1E1526;
--color-border: #33283E;
--color-text: #B19CBB;
--color-muted: #8C7C94;
--color-primary: #AA00FF;
--color-on-primary: #FFFFFF;
--color-accent: #D266FF;
--color-on-accent: #130B1B;
}
}
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 #D266FF | adjusted for contrast · from #AA00FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #AA00FF | adjusted for contrast · from #D266FF |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #BE33FF | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 5.06:1 | AA pass 4.5:1 | |
| Label on accent | 4.63:1 | AA pass 4.5:1 | |
| Primary on background | 4.69:1 | AA pass 3:1 | |
| Accent on background | 4.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.64:1 | AAA pass 4.5:1 | |
| Text on surface | 7.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 5.06:1 | AA pass 4.5:1 | |
| Label on accent | 6.49:1 | AA pass 4.5:1 | |
| Primary on background | 3.81:1 | AA Large pass 3:1 | |
| Accent on background | 6.49: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 | #AA00FF (Text 1) | #B41AFF (Text 2) | #BE33FF (Text 3) | #C84DFF (Text 4) | #D266FF (Text 5) |
|---|---|---|---|---|---|
| #AA00FF | Same color | 1.09— | 1.23— | 1.44— | 1.71— |
| #B41AFF | 1.09— | Same color | 1.13— | 1.32— | 1.56— |
| #BE33FF | 1.23— | 1.13— | Same color | 1.17— | 1.39— |
| #C84DFF | 1.44— | 1.32— | 1.17— | Same color | 1.19— |
| #D266FF | 1.71— | 1.56— | 1.39— | 1.19— | Same color |
Shades
Shades and tints (50–950)
