PreviewingGo to this paletteOpen in generator
Code
/* Plasma Tube — colorset.net */
:root {
--color-1: #0C0517;
--color-2: #EC36EC;
--color-3: #00CDEE;
--color-4: #9540F4;
--color-5: #F5EAF7;
--color-bg: #F5EAF7;
--color-surface: #FAF3FB;
--color-border: #DED0E0;
--color-text: #0C0517;
--color-muted: #615971;
--color-primary: #CF00D0;
--color-on-primary: #FFFFFF;
--color-accent: #0096AF;
--color-on-accent: #0C0517;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C0517;
--color-surface: #160E22;
--color-border: #2A2237;
--color-text: #F5EAF7;
--color-muted: #897F8B;
--color-primary: #EC36EC;
--color-on-primary: #0C0517;
--color-accent: #00CDEE;
--color-on-accent: #0C0517;
}
}
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 #EC36EC | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #00CDEE | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.14:1 | AAA pass 4.5:1 | |
| Text on surface | 18.37:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.67:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 5.70:1 | AA pass 4.5:1 | |
| Primary on background | 3.94:1 | AA Large pass 3:1 | |
| Accent on background | 3.01:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.14:1 | AAA pass 4.5:1 | |
| Text on surface | 16.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.21:1 | AA pass 4.5:1 | |
| Label on primary | 6.01:1 | AA pass 4.5:1 | |
| Label on accent | 10.45:1 | AAA pass 4.5:1 | |
| Primary on background | 6.01:1 | AA pass 3:1 | |
| Accent on background | 10.45: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 | #0C0517 (Text 1) | #EC36EC (Text 2) | #00CDEE (Text 3) | #9540F4 (Text 4) | #F5EAF7 (Text 5) |
|---|---|---|---|---|---|
| #0C0517 | Same color | 6.01AA | 10.45AAA | 4.11AA Large | 17.14AAA |
| #EC36EC | 6.01AA | Same color | 1.74— | 1.46— | 2.85— |
| #00CDEE | 10.45AAA | 1.74— | Same color | 2.54— | 1.64— |
| #9540F4 | 4.11AA Large | 1.46— | 2.54— | Same color | 4.17AA Large |
| #F5EAF7 | 17.14AAA | 2.85— | 1.64— | 4.17AA Large | Same color |
Shades
Shades and tints (50–950)
