PreviewingGo to this paletteOpen in generator
Code
/* Blacklight Orchid — colorset.net */
:root {
--color-1: #0D061E;
--color-2: #8C40FF;
--color-3: #DD53E7;
--color-4: #00E6EF;
--color-5: #F5E9FE;
--color-bg: #F5E9FE;
--color-surface: #FAF2FF;
--color-border: #DDD0E8;
--color-text: #0D061E;
--color-muted: #605B74;
--color-primary: #8C40FF;
--color-on-primary: #FFFFFF;
--color-accent: #008287;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D061E;
--color-surface: #171029;
--color-border: #2A253B;
--color-text: #F5E9FE;
--color-muted: #8A8092;
--color-primary: #8C40FF;
--color-on-primary: #FFFFFF;
--color-accent: #00E6EF;
--color-on-accent: #0D061E;
}
}
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 | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8C40FF | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.92:1 | AAA pass 4.5:1 | |
| Text on surface | 18.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.54:1 | AA pass 4.5:1 | |
| Label on primary | 4.89:1 | AA pass 4.5:1 | |
| Label on accent | 4.62:1 | AA pass 4.5:1 | |
| Primary on background | 4.19:1 | AA Large pass 3:1 | |
| Accent on background | 3.96:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.92:1 | AAA pass 4.5:1 | |
| Text on surface | 15.73:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.26:1 | AA pass 4.5:1 | |
| Label on primary | 4.89:1 | AA pass 4.5:1 | |
| Label on accent | 12.77:1 | AAA pass 4.5:1 | |
| Primary on background | 4.04:1 | AA Large pass 3:1 | |
| Accent on background | 12.77: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 | #0D061E (Text 1) | #8C40FF (Text 2) | #DD53E7 (Text 3) | #00E6EF (Text 4) | #F5E9FE (Text 5) |
|---|---|---|---|---|---|
| #0D061E | Same color | 4.04AA Large | 6.09AA | 12.77AAA | 16.92AAA |
| #8C40FF | 4.04AA Large | Same color | 1.51— | 3.16AA Large | 4.19AA Large |
| #DD53E7 | 6.09AA | 1.51— | Same color | 2.10— | 2.78— |
| #00E6EF | 12.77AAA | 3.16AA Large | 2.10— | Same color | 1.32— |
| #F5E9FE | 16.92AAA | 4.19AA Large | 2.78— | 1.32— | Same color |
Shades
Shades and tints (50–950)
