PreviewingGo to this paletteOpen in generator
Code
/* Opulent Orchid — colorset.net */
:root {
--color-1: #F7F0F6;
--color-2: #8A1C7C;
--color-3: #1B6B93;
--color-4: #E0B04A;
--color-5: #2A1230;
--color-bg: #F7F0F6;
--color-surface: #FDF8FC;
--color-border: #E0D6DF;
--color-text: #2A1230;
--color-muted: #79677D;
--color-primary: #8A1C7C;
--color-on-primary: #FFFFFF;
--color-accent: #B38408;
--color-on-accent: #2A1230;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2A1230;
--color-surface: #361D3C;
--color-border: #47374B;
--color-text: #F7F0F6;
--color-muted: #958F94;
--color-primary: #B145A1;
--color-on-primary: #FFFFFF;
--color-accent: #E0B04A;
--color-on-accent: #2A1230;
}
}
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 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #8A1C7C |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E0B04A | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.27:1 | AAA pass 4.5:1 | |
| Text on surface | 16.30:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.63:1 | AA pass 4.5:1 | |
| Label on primary | 8.27:1 | AAA pass 4.5:1 | |
| Label on accent | 5.07:1 | AA pass 4.5:1 | |
| Primary on background | 7.39:1 | AAA pass 3:1 | |
| Accent on background | 3.01:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.27:1 | AAA pass 4.5:1 | |
| Text on surface | 13.41:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.40:1 | AA pass 4.5:1 | |
| Label on primary | 4.96:1 | AA pass 4.5:1 | |
| Label on accent | 8.54:1 | AAA pass 4.5:1 | |
| Primary on background | 3.45:1 | AA Large pass 3:1 | |
| Accent on background | 8.54: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 | #F7F0F6 (Text 1) | #8A1C7C (Text 2) | #1B6B93 (Text 3) | #E0B04A (Text 4) | #2A1230 (Text 5) |
|---|---|---|---|---|---|
| #F7F0F6 | Same color | 7.39AAA | 5.25AA | 1.79— | 15.27AAA |
| #8A1C7C | 7.39AAA | Same color | 1.41— | 4.13AA Large | 2.07— |
| #1B6B93 | 5.25AA | 1.41— | Same color | 2.93— | 2.91— |
| #E0B04A | 1.79— | 4.13AA Large | 2.93— | Same color | 8.54AAA |
| #2A1230 | 15.27AAA | 2.07— | 2.91— | 8.54AAA | Same color |
Shades
Shades and tints (50–950)
