PreviewingGo to this paletteOpen in generator
Code
/* Rave Duo — colorset.net */
:root {
--color-1: #0B0F14;
--color-2: #B6FF3B;
--color-3: #FF3DBB;
--color-4: #232A33;
--color-5: #F0F4F8;
--color-bg: #F0F4F8;
--color-surface: #F9FBFE;
--color-border: #D5DCE2;
--color-text: #0B0F14;
--color-muted: #5F646B;
--color-primary: #F834B5;
--color-on-primary: #0B0F14;
--color-accent: #699A00;
--color-on-accent: #0B0F14;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B0F14;
--color-surface: #15191E;
--color-border: #272E36;
--color-text: #F0F4F8;
--color-muted: #86898D;
--color-primary: #FF3DBB;
--color-on-primary: #0B0F14;
--color-accent: #B6FF3B;
--color-on-accent: #0B0F14;
}
}
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 #FF3DBB | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B6FF3B | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.39:1 | AAA pass 4.5:1 | |
| Text on surface | 18.54:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.40:1 | AA pass 4.5:1 | |
| Label on primary | 5.63:1 | AA pass 4.5:1 | |
| Label on accent | 5.70:1 | AA pass 4.5:1 | |
| Primary on background | 3.09:1 | AA Large pass 3:1 | |
| Accent on background | 3.05:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.39:1 | AAA pass 4.5:1 | |
| Text on surface | 15.97:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.47:1 | AA pass 4.5:1 | |
| Label on primary | 6.07:1 | AA pass 4.5:1 | |
| Label on accent | 15.88:1 | AAA pass 4.5:1 | |
| Primary on background | 6.07:1 | AA pass 3:1 | |
| Accent on background | 15.88: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 | #0B0F14 (Text 1) | #B6FF3B (Text 2) | #FF3DBB (Text 3) | #232A33 (Text 4) | #F0F4F8 (Text 5) |
|---|---|---|---|---|---|
| #0B0F14 | Same color | 15.88AAA | 6.07AA | 1.33— | 17.39AAA |
| #B6FF3B | 15.88AAA | Same color | 2.62— | 11.97AAA | 1.09— |
| #FF3DBB | 6.07AA | 2.62— | Same color | 4.58AA | 2.86— |
| #232A33 | 1.33— | 11.97AAA | 4.58AA | Same color | 13.10AAA |
| #F0F4F8 | 17.39AAA | 1.09— | 2.86— | 13.10AAA | Same color |
Shades
Shades and tints (50–950)
