Skip to content

Palette

Each flavor has 24 named colors: twelve neutrals and twelve accents. The names are the API; the values are tuned per flavor. Colors were designed in OKLCH, gamut-mapped, and frozen as hex, the canonical form. RGB and OKLCH below are derived from that hex, and every table on this page is generated from the published package at build time.

Neutrals, darkest to lightest on dark flavors: crust, mantle and base are backgrounds; surface0 to surface2 are raised fills; overlay0 to overlay2 are lines and icons; subtext0, subtext1 and text are text. Lumen runs the background ramp the other way (crust lightest around the edges, base the page). Accents are identical across the three dark flavors; Lumen has a deeper set that stays readable on light backgrounds.

The last column is the WCAG contrast ratio against the flavor’s base. Ratios are truncated, never rounded up, and badges mark AAA (7:1), AA (4.5:1) and AA large text or UI (3:1). Backgrounds and hairlines sit below 3:1 by design.

The deepest dark: near-black indigo with the highest contrast, for dense dashboards and HUD frames.

Abyss palette: every color with its hex, RGB and OKLCH values and its contrast against Abyss base
SwatchColorHexRGBOKLCHvs base
Crust--nw-crustDeepest background: app chrome, HUD backdrops, code#0303123 3 18oklch(11.2% 0.039 278.1)1.03
Mantle--nw-mantleSecondary background: sidebars, navigation, inputs#0504195 4 25oklch(12.8% 0.048 280.4)1.02
Base--nw-baseMain background#0807208 7 32oklch(15.0% 0.052 280.2)base
Surface 0--nw-surface0Raised fill: cards, menus, popovers#12122f18 18 47oklch(20.1% 0.056 280.1)1.08
Surface 1--nw-surface1Hover fill#1b1c3b27 28 59oklch(24.4% 0.058 279.8)1.20
Surface 2--nw-surface2Active fill#26274738 39 71oklch(28.9% 0.058 280.8)1.37
Overlay 0--nw-overlay0Decorative hairlines, grid lines#3e415f62 65 95oklch(38.6% 0.051 279.3)2.00
Overlay 1--nw-overlay1Component boundaries, input borders, disabled text#646781100 103 129oklch(52.1% 0.041 279.7)3.57AA large
Overlay 2--nw-overlay2Icons, strong borders, comments#82849b130 132 155oklch(62.0% 0.035 281.4)5.39AA
Subtext 0--nw-subtext0Placeholders, tertiary text#aeb0c1174 176 193oklch(76.1% 0.024 280.5)9.21AAA
Subtext 1--nw-subtext1Secondary text#d0d2dd208 210 221oklch(86.5% 0.015 277.8)13.13AAA
Text--nw-textPrimary text#f0f1f7240 241 247oklch(95.9% 0.008 278.6)17.54AAA
Indigo--nw-indigoBrand primary: buttons, focus rings, glow#848fff132 143 255oklch(69.2% 0.163 277.0)6.92AA
Iris--nw-irisPale violet: links, parameters#cdc0ff205 192 255oklch(84.0% 0.088 293.9)11.85AAA
Flux--nw-fluxElectric violet: keywords#d071ff208 113 255oklch(71.3% 0.214 313.1)7.05AAA
Synth--nw-synthSecondary; the far end of the wire gradient, tags#ff47d8255 71 216oklch(70.9% 0.260 338.0)6.73AA
Alarm--nw-alarmDanger, errors, deletions, booleans#ff5d7b255 93 123oklch(69.8% 0.197 12.8)6.69AA
Flare--nw-flareOrange: numbers and constants#ff9845255 152 69oklch(77.3% 0.156 56.2)9.25AAA
Volt--nw-voltWarning; types and classes#f8e445248 228 69oklch(90.9% 0.170 101.9)15.23AAA
Matrix--nw-matrixSuccess; strings, insertions#4bf67775 246 119oklch(85.9% 0.220 148.0)13.89AAA
Circuit--nw-circuitTeal: attributes, operators, regex#17edd523 237 213oklch(85.0% 0.150 182.0)13.29AAA
Ice--nw-iceTertiary; properties#5eddfe94 221 254oklch(83.9% 0.120 217.9)12.48AAA
Arc--nw-arcInfo; functions and methods#4aa9ff74 169 255oklch(71.7% 0.154 248.9)7.92AAA
Steel--nw-steelNeutral metal: quiet badges and chrome#b5bdd5181 189 213oklch(80.0% 0.035 270.9)10.55AAA

The default dark: deep electric indigo. Websites and docs start here.

Nocturne palette: every color with its hex, RGB and OKLCH values and its contrast against Nocturne base
SwatchColorHexRGBOKLCHvs base
Crust--nw-crustDeepest background: app chrome, HUD backdrops, code#0a032910 3 41oklch(15.1% 0.075 283.5)1.07
Mantle--nw-mantleSecondary background: sidebars, navigation, inputs#0e053314 5 51oklch(17.3% 0.085 282.8)1.04
Base--nw-baseMain background#14093e20 9 62oklch(20.1% 0.094 283.5)base
Surface 0--nw-surface0Raised fill: cards, menus, popovers#1d154c29 21 76oklch(24.5% 0.097 283.3)1.11
Surface 1--nw-surface1Hover fill#27225839 34 88oklch(29.1% 0.094 283.1)1.27
Surface 2--nw-surface2Active fill#302d6048 45 96oklch(32.9% 0.088 283.1)1.46
Overlay 0--nw-overlay0Decorative hairlines, grid lines#46467370 70 115oklch(41.5% 0.074 282.7)2.09
Overlay 1--nw-overlay1Component boundaries, input borders, disabled text#6c6d93108 109 147oklch(54.9% 0.059 283.1)3.73AA large
Overlay 2--nw-overlay2Icons, strong borders, comments#8b8cab139 140 171oklch(65.0% 0.046 283.6)5.65AA
Subtext 0--nw-subtext0Placeholders, tertiary text#b2b4ca178 180 202oklch(77.5% 0.031 281.5)9.02AAA
Subtext 1--nw-subtext1Secondary text#d4d4e3212 212 227oklch(87.4% 0.021 286.0)12.58AAA
Text--nw-textPrimary text#f2f3fa242 243 250oklch(96.5% 0.009 279.7)16.66AAA
Indigo--nw-indigoBrand primary: buttons, focus rings, glow#848fff132 143 255oklch(69.2% 0.163 277.0)6.46AA
Iris--nw-irisPale violet: links, parameters#cdc0ff205 192 255oklch(84.0% 0.088 293.9)11.05AAA
Flux--nw-fluxElectric violet: keywords#d071ff208 113 255oklch(71.3% 0.214 313.1)6.57AA
Synth--nw-synthSecondary; the far end of the wire gradient, tags#ff47d8255 71 216oklch(70.9% 0.260 338.0)6.27AA
Alarm--nw-alarmDanger, errors, deletions, booleans#ff5d7b255 93 123oklch(69.8% 0.197 12.8)6.24AA
Flare--nw-flareOrange: numbers and constants#ff9845255 152 69oklch(77.3% 0.156 56.2)8.63AAA
Volt--nw-voltWarning; types and classes#f8e445248 228 69oklch(90.9% 0.170 101.9)14.20AAA
Matrix--nw-matrixSuccess; strings, insertions#4bf67775 246 119oklch(85.9% 0.220 148.0)12.95AAA
Circuit--nw-circuitTeal: attributes, operators, regex#17edd523 237 213oklch(85.0% 0.150 182.0)12.39AAA
Ice--nw-iceTertiary; properties#5eddfe94 221 254oklch(83.9% 0.120 217.9)11.63AAA
Arc--nw-arcInfo; functions and methods#4aa9ff74 169 255oklch(71.7% 0.154 248.9)7.38AAA
Steel--nw-steelNeutral metal: quiet badges and chrome#b5bdd5181 189 213oklch(80.0% 0.035 270.9)9.84AAA

The softest dark: dusky violet-indigo with the lightest dark base, for long reading sessions.

Twilight palette: every color with its hex, RGB and OKLCH values and its contrast against Twilight base
SwatchColorHexRGBOKLCHvs base
Crust--nw-crustDeepest background: app chrome, HUD backdrops, code#1b113627 17 54oklch(21.5% 0.069 292.0)1.13
Mantle--nw-mantleSecondary background: sidebars, navigation, inputs#21154033 21 64oklch(23.9% 0.078 292.3)1.07
Base--nw-baseMain background#271a4b39 26 75oklch(26.5% 0.087 291.6)base
Surface 0--nw-surface0Raised fill: cards, menus, popovers#31245749 36 87oklch(30.5% 0.089 292.1)1.13
Surface 1--nw-surface1Hover fill#3b2f6159 47 97oklch(34.4% 0.085 292.4)1.32
Surface 2--nw-surface2Active fill#453b6a69 59 106oklch(38.5% 0.079 292.1)1.56
Overlay 0--nw-overlay0Decorative hairlines, grid lines#59517a89 81 122oklch(46.0% 0.066 292.5)2.15
Overlay 1--nw-overlay1Component boundaries, input borders, disabled text#7c7799124 119 153oklch(58.6% 0.052 291.5)3.71AA large
Overlay 2--nw-overlay2Icons, strong borders, comments#9793af151 147 175oklch(67.6% 0.041 291.8)5.32AA
Subtext 0--nw-subtext0Placeholders, tertiary text#bab7cd186 183 205oklch(78.9% 0.031 291.9)8.04AAA
Subtext 1--nw-subtext1Secondary text#d9d7e4217 215 228oklch(88.5% 0.018 293.1)11.07AAA
Text--nw-textPrimary text#f5f4fa245 244 250oklch(97.0% 0.008 293.9)14.37AAA
Indigo--nw-indigoBrand primary: buttons, focus rings, glow#848fff132 143 255oklch(69.2% 0.163 277.0)5.50AA
Iris--nw-irisPale violet: links, parameters#cdc0ff205 192 255oklch(84.0% 0.088 293.9)9.41AAA
Flux--nw-fluxElectric violet: keywords#d071ff208 113 255oklch(71.3% 0.214 313.1)5.60AA
Synth--nw-synthSecondary; the far end of the wire gradient, tags#ff47d8255 71 216oklch(70.9% 0.260 338.0)5.34AA
Alarm--nw-alarmDanger, errors, deletions, booleans#ff5d7b255 93 123oklch(69.8% 0.197 12.8)5.31AA
Flare--nw-flareOrange: numbers and constants#ff9845255 152 69oklch(77.3% 0.156 56.2)7.35AAA
Volt--nw-voltWarning; types and classes#f8e445248 228 69oklch(90.9% 0.170 101.9)12.11AAA
Matrix--nw-matrixSuccess; strings, insertions#4bf67775 246 119oklch(85.9% 0.220 148.0)11.04AAA
Circuit--nw-circuitTeal: attributes, operators, regex#17edd523 237 213oklch(85.0% 0.150 182.0)10.56AAA
Ice--nw-iceTertiary; properties#5eddfe94 221 254oklch(83.9% 0.120 217.9)9.92AAA
Arc--nw-arcInfo; functions and methods#4aa9ff74 169 255oklch(71.7% 0.154 248.9)6.29AA
Steel--nw-steelNeutral metal: quiet badges and chrome#b5bdd5181 189 213oklch(80.0% 0.035 270.9)8.38AAA

The light flavor: lavender daylight with a deeper accent set.

Lumen palette: every color with its hex, RGB and OKLCH values and its contrast against Lumen base
SwatchColorHexRGBOKLCHvs base
Crust--nw-crustDeepest background: app chrome, HUD backdrops, code#d3cefa211 206 250oklch(87.0% 0.061 290.3)1.23
Mantle--nw-mantleSecondary background: sidebars, navigation, inputs#dedaff222 218 255oklch(90.3% 0.050 290.3)1.10
Base--nw-baseMain background#eae6ff234 230 255oklch(93.6% 0.034 293.1)base
Surface 0--nw-surface0Raised fill: cards, menus, popovers#ddd9ff221 217 255oklch(90.0% 0.052 290.1)1.11
Surface 1--nw-surface1Hover fill#d1cdf8209 205 248oklch(86.5% 0.059 289.4)1.25
Surface 2--nw-surface2Active fill#c6c1ef198 193 239oklch(83.0% 0.064 289.9)1.40
Overlay 0--nw-overlay0Decorative hairlines, grid lines#b0abd9176 171 217oklch(76.1% 0.066 289.7)1.78
Overlay 1--nw-overlay1Component boundaries, input borders, disabled text#7c76a4124 118 164oklch(58.9% 0.070 290.1)3.46AA large
Overlay 2--nw-overlay2Icons, strong borders, comments#686191104 97 145oklch(51.9% 0.075 290.2)4.65AA
Subtext 0--nw-subtext0Placeholders, tertiary text#524a7e82 74 126oklch(44.1% 0.084 289.5)6.53AA
Subtext 1--nw-subtext1Secondary text#3d326b61 50 107oklch(36.0% 0.096 289.6)9.24AAA
Text--nw-textPrimary text#1f0e4731 14 71oklch(23.1% 0.099 290.0)14.24AAA
Indigo--nw-indigoBrand primary: buttons, focus rings, glow#4940d773 64 215oklch(48.5% 0.221 276.9)5.75AA
Iris--nw-irisPale violet: links, parameters#6746a7103 70 167oklch(48.0% 0.150 295.9)5.73AA
Flux--nw-fluxElectric violet: keywords#8c16c5140 22 197oklch(49.9% 0.240 310.0)5.68AA
Synth--nw-synthSecondary; the far end of the wire gradient, tags#a8008b168 0 139oklch(49.6% 0.217 338.3)5.68AA
Alarm--nw-alarmDanger, errors, deletions, booleans#b6002c182 0 44oklch(49.1% 0.197 20.5)5.70AA
Flare--nw-flareOrange: numbers and constants#9d3a00157 58 0oklch(48.2% 0.144 42.7)5.68AA
Volt--nw-voltWarning; types and classes#6e5700110 87 0oklch(46.7% 0.095 90.9)5.70AA
Matrix--nw-matrixSuccess; strings, insertions#00680f0 104 15oklch(44.9% 0.147 143.8)5.77AA
Circuit--nw-circuitTeal: attributes, operators, regex#0065580 101 88oklch(45.4% 0.082 179.9)5.74AA
Ice--nw-iceTertiary; properties#0060810 96 129oklch(45.8% 0.092 230.6)5.77AA
Arc--nw-arcInfo; functions and methods#0055b60 85 182oklch(46.8% 0.169 257.4)5.80AA
Steel--nw-steelNeutral metal: quiet badges and chrome#4d597677 89 118oklch(46.6% 0.050 267.0)5.74AA
import { flavors, flavorEntries, semanticRoles } from '@nyxwire/palette'
import type { ColorName, FlavorName } from '@nyxwire/palette'
const nocturne = flavors.nocturne
nocturne.colors.indigo.hex // '#848fff'
nocturne.colors.indigo.oklch // { l, c, h }
nocturne.colors[semanticRoles.primary].rgb // { r: 132, g: 143, b: 255 }
for (const flavor of flavorEntries) console.log(flavor.id, flavor.dark, flavor.onAccent)

Each color carries name, label, order, accent, hex, rgb, hsl and oklch. Each flavor carries id, name, order, dark, colors and onAccent, the palette color used for text on solid accent fills. The package also exports colorNames, neutralNames, accentNames, flavorNames, flavorMeta, defaultFlavor, semanticRoles, syntaxRoles and the FlavorName, DarkFlavorName, ColorName, NeutralName, AccentName, Flavor and ColorFormat types. No color library is needed at runtime.