Scientific FigureScientific Figure

Library · Scientific color palettes

Scientific Color Palettes for Figures and Charts

A scientific color palette is a small, fixed set of colors that keeps the parts of a figure distinct, for color-blind readers and in grayscale too. This library holds scientific color palettes sampled from figures in Cell Research, Signal Transduction and Targeted Therapy and Cell Death & Disease, next to the standards: Okabe-Ito, Viridis, RdBu and the journal sets of ggsci. Click a color to copy its hex code, or edit a palette and download it as a card.

Palette 01 of 25Sampled from Cell Death & Disease, Fig. 3

Maple Sky

Loud colors that still read calm.

Washes 60%Fills 30%Lines and accents 10%

01 / 25
β-hydroxybutyrate and brain homeostasis, a figure generated in the Maple Sky scientific color palette

On a real figure

β-hydroxybutyrate and brain homeostasis

Generated in Scientific Figure, flat journal style

What each color does in this figure

Opens the workspace with these colors already set. The second button also fills in the prompt of this figure, ready to change to your topic.

Read the prompt

Loading the prompt…

Proof sheet

The same colors on four other figures

Series5
Mechanism overviewNucleusSignalResponseRepair
Diagram
Expression by group0255075100Day 0Day 7Day 14Day 21Group AGroup BGroup CGroup DGroup E
Bar chart
Clusters0255075100Group AGroup BGroup CGroup DGroup E
Scatter plot
Time course0255075100Group AGroup BGroup CGroup DGroup E
Line chart

In code

Scientific color palettes in R and Python

Ready-to-paste code for ggplot2, Matplotlib and seaborn, and a HEX and RGB table for Prism, Illustrator or PowerPoint. It follows the palette open above, now Maple Sky.

maple_sky <- c("#D9536C", "#E47C39", "#BDA64F", "#6BB596", "#56ADA1")

ggplot(df, aes(x, y, fill = group)) +
  geom_col() +
  scale_fill_manual(values = maple_sky)

# lines and points
# scale_colour_manual(values = maple_sky)

Colors to include

Leaves out the line color and the pale backgrounds, which make poor data colors.

Groups in your plot

5

In this copy

Paste above your ggplot call. Colors are used in this order, one per group.

16 journal palettes · 9 standards

All scientific color palettes

Filter by the color that leads, or search a palette name or a hex code such as 578AC2.

Pick by figure

Which scientific color palette fits which figure

The kind of data decides the kind of palette. Each name opens that palette above.

What the figure showsUsePalettes here
Categories in a chart: bars, points, linesA qualitative palette with distinct hues of similar weight. Start from a colorblind-safe one.Okabe-ItoPaul Tol BrightNPG
Ordered values: heatmaps, expression levels, densityHeatmap generatorA sequential ramp that runs from dark to light in even steps.Viridis
Values either side of a midpoint: fold change, correlationA diverging ramp with a neutral middle and one hue per direction.RdBu
Mechanism figures, pathways and cell diagramsAI scientific illustration generatorA three-tier palette of pale washes, mid-tone fills and one dark line color.Maple SkyCeladon DuskBellflower NightPlum Stream
Graphical abstracts, posters and slidesGraphical abstract makerStronger contrast and fewer colors, because they are read from a distance.Citrus HarvestMidnight GoldOsmanthus Moon
Charts that should match a journal's lookOne of the ggsci journal sets, in the order ggsci lists the colors.NPGAAASLancetNEJMJAMA

Accessibility

Colorblind-friendly scientific color palettes

About one man in twelve and one woman in two hundred has some form of color vision deficiency, most often trouble telling red from green. A colorblind-friendly palette keeps its colors apart by lightness and by blue-yellow contrast, not by red against green.

Four palettes on this page were designed for that. Okabe-Ito and Paul Tol Bright are for categories, Viridis for ordered values and RdBu for values around a midpoint. For any other palette, open it and switch Color vision to Deuteranopia, Protanopia, Tritanopia or Grayscale to see the sample charts as those readers do.

Okabe-ItoPaul Tol BrightViridisRdBu

If two colors merge

  • Use fewer series. Most palettes hold four or five apart, few hold nine.
  • Add a second cue: marker shape, line style or a direct label.
  • Edit one of the two colors until their grey levels differ.

Reference

Hex codes of every scientific color palette

The same 25 palettes as plain text, in display order.

Sampled from journal figures

PaletteHex codes
Maple Sky#7F3B3D#D9536C#E47C39#BDA64F#6BB596#56ADA1#578AC2#F3F3DC#E6F6F7
Crape Myrtle#85326E#995BA0#BE96CA#D6AECD#B94249#ECE8AB#F8EDEE#F1FBF7#EEF5FA
Citrus Harvest#2F5A8C#4B88C8#E08835#58B049#C15459#9CD082#F7F2E2#E4FEDF#E3F3FC
Glazed Blossom#194376#9D48E2#7C639D#689969#9FBE95#9B7324#E9D36D#EAADB5#E6DEEB
Bellflower Night#2A407C#6082B5#877DB9#B8A8DF#95BB77#E3A24D#B2E1D3#EBE7F6#F5ECE5
Celadon Dusk#3A3A40#568884#5FB2B2#6BC9DE#A9D7D8#B97D85#D8B4A4#DEF3EE#EEE6E5
Pine Brook#3E6765#6AB0C0#94D3DF#D9E7CC#E9D588#A36049#AC747F#EBCAE2#DEEEF6
Plum Stream#56394E#AB6798#D9BBDC#86A4BE#BCEAF8#EFE581#C0D7C7#D76960#F8EEF7
Wheat Meadow#5A8A38#85CE79#B4AF2B#BB9827#F1A99D#8BC4E2#EBF8E8#FBFBEB#ECF3F8
Pomegranate Letters#C0322B#AD6B5A#D18589#EFBCC0#E4CD7A#ACA5D3#A6DBE4#B3E1BC#F2F2F1
Rose Dew#6E4555#9C6064#D26B86#D9A6A9#ECBACA#EEE281#BAD590#B9D6E4#F0E4E2
Midnight Gold#2F374E#7A93B8#BDD9EA#D2AD63#D86960#ECBACA#D8C6E1#DADA7C#D9E8F0
Iris Twilight#7E70A8#92719F#8D8AC5#C67D7F#D6AAA0#E3C99F#9CBAC8#C8B3D2#F2E6E6
Crabapple Blossom#583C43#BA677B#DD674F#E6B7A2#EDC8AB#BEDD8B#AFBDD5#F3EABF#F4E8DD
Osmanthus Moon#2E4A6B#6F8FB8#AFC6E0#DDAE52#F3DDA6#C98B7E#9AA9B8#EEF3F9#FBF5E8
Indigo Hills#2F4858#5B7C99#A8BDD0#C97B63#E8B9A0#D9C9A3#8FA89B#EEF2F5#F8EFE8

Colorblind-friendly standards

PaletteHex codes
Okabe-Ito#000000#E69F00#56B4E9#009E73#F0E442#0072B2#D55E00#CC79A7
Viridis#440154#472D7B#3B528B#2C728E#21918C#27AD81#5CC863#AADC32#FDE725
RdBu#B2182B#D6604D#F4A582#FDDBC7#F7F7F7#D1E5F0#92C5DE#4393C3#2166AC
Paul Tol Bright#4477AA#EE6677#228833#CCBB44#66CCEE#AA3377#BBBBBB

Journal color palettes from ggsci

PaletteHex codes
NPG#E64B35#4DBBD5#00A087#3C5488#F39B7F#8491B4#91D1C2#DC0000#7E6148
AAAS#3B4992#EE0000#008B45#631879#008280#BB0021#5F559B#A20056#808180
NEJM#BC3C29#0072B5#E18727#20854E#7876B1#6F99AD#FFDC91#EE4C97
Lancet#00468B#ED0000#42B540#0099B4#925E9F#FDAF91#AD002A#ADB6B6#1B1919
JAMA#374E55#DF8F44#00A1D5#B24745#79AF97#6A6599#80796B

How to use nine colors

Most of a figure is pale. Very little of it is loud.

A scientific color palette works when most of the figure stays pale. The thin bar under each palette shows the same split.

60%

Pale washes

The lightest two or three colors fill panels and cell interiors. They cover area without carrying meaning.

30%

Fills

Mid-tones fill what a reader has to tell apart, such as cell types, organelles or the groups in a chart.

10%

Lines and accents

The darkest color draws outlines, arrows and headings. The most saturated one marks the single thing to look at first.

Questions about scientific color palettes

Choosing a palette

What are the best color palettes for scientific figures?

It depends on what the figure shows. For categories in a chart, Okabe-Ito is the safe default because its eight colors stay distinct for color-blind readers. For continuous data such as heatmaps, use a perceptually uniform ramp like Viridis, or RdBu when the values run either side of zero. For schematics, mechanism figures and graphical abstracts, use a palette built in three tiers, with two or three pale washes, a few mid-tone fills and one dark color for lines. The 16 journal palettes on this page are built that way, and each is shown on a finished figure.

What color palettes are commonly used in scientific papers, and where can I find Nature-style ones?

The sets people reach for most are NPG (the Nature Publishing Group look), AAAS (Science), NEJM, Lancet and JAMA, all from the R package ggsci, which collected the colors seen in each journal's own figures. All five are on this page with hex codes. The 16 journal palettes go one step further. Each was sampled from a figure in a 2026 review in Cell Research, Signal Transduction and Targeted Therapy or Cell Death & Disease, three Springer Nature journals, so they carry the look of current review figures and not only of charts.

Which palettes suit biology, neuroscience and biomedical figures?

Pick one whose example figure is close to yours. For neuroscience, Maple Sky (ketone bodies in the brain), Pine Brook (histone acetylation and memory) and Indigo Hills (the blood-brain barrier). For cell biology, Glazed Blossom (autophagy), Plum Stream (organelle contact sites), Bellflower Night (calcium signalling) and Citrus Harvest (ferroptosis). For cancer and immunology, Midnight Gold (CAR-T cells), Pomegranate Letters (neutrophils in tumors), Crabapple Blossom and Osmanthus Moon. For medical and drug-delivery figures, Crape Myrtle (colitis), Rose Dew (psoriasis) and Celadon Dusk (bone repair). A palette is not tied to its field, so any of them works on another subject.

What colors work best for scientific diagrams and graphical abstracts?

Keep about 60% of the area in pale washes, 30% in mid-tone fills and 10% in dark lines and one saturated accent. Give each cell type, pathway or panel one fill color and keep it for that thing everywhere in the figure. Draw every outline, arrow and label in the same dark color. Use the loudest color once, on the thing the reader should see first. The thin bar under each palette on this page shows that split for its nine colors.

Where do the journal palettes on this page come from?

Each one was sampled pixel by pixel from one figure in a 2026 open-access review. The journal and figure number are named above the palette. The figure shown here is not that figure. It is a new one on a different subject, generated in Scientific Figure with the sampled colors, so you can see the palette at work.

Do journals require a specific color palette?

No. Journals set rules on color mode, resolution and accessibility, and none of them prescribes a set of colors. The ggsci journal palettes give a figure that journal's house look, and using them is a choice.

Color blindness and grayscale

Is there a tool to check whether a scientific color palette is colorblind-safe?

Yes, on this page. Open or edit a palette and switch Color vision to Deuteranopia, Protanopia or Tritanopia. The color columns, the example figure and four sample figures (a diagram, a bar chart, a scatter plot and a line chart) are redrawn as a reader with that condition sees them. If two series merge, lower the number of series, change one of the colors, or add a second cue such as marker shape or line style.

Which palettes here are colorblind-friendly?

Okabe-Ito, Paul Tol Bright, Viridis and RdBu were designed for color-blind readers; filter the list by Colorblind-safe to see them. The journal palettes and the ggsci sets were not designed for it. Many of them hold up with four or five series, but check yours with the Color vision switch before you use it for data.

How can I make a palette that still reads in grayscale?

Switch Color vision to Grayscale. A palette survives a black-and-white printout when its colors differ in lightness and not only in hue, so look for series that turn into the same grey. Viridis runs from dark to light and always passes. In a categorical palette, edit the colors that collide until each has its own grey level, or keep the number of series small.

Editing, export and other software

Is this a free scientific color palette generator with HEX and RGB codes?

It is free and needs no account. It works as a library with an editor more than as a random generator. You start from a palette that is already proven on a figure, press Edit colors to change, add or remove colors (three to nine) and rename it, and every code and sample figure updates. Each color shows its HEX and RGB values, and one click copies the hex code.

Which formats can I export a palette in?

As text you can copy: an R vector with ggplot2 scales, a Python list with matplotlib and seaborn lines, a table of HEX and RGB values, and a sentence to paste into an AI image prompt. As an image: Download card saves a 1242 × 1660 px PNG in two styles, with the name, every hex code, RGB values and what each color is for. There is no SVG or Adobe swatch file export.

How do I use these palettes in R ggplot2 or Python Matplotlib?

Copy the R or Python block under the sample figures. In ggplot2 the vector goes into scale_fill_manual(values = ...) or scale_colour_manual(values = ...). In matplotlib the block sets the axes color cycle, so every new plot takes the colors in order, and in seaborn it goes into sns.set_palette().

Can I use these palettes in Illustrator, PowerPoint, GraphPad Prism or BioRender?

Yes. Any editor with a custom color field takes them. Copy the hex code of a color, or read its RGB values, and enter it in the program's color picker. Save the colors as swatches or theme colors there so that later figures reuse them. The palette card is handy to keep open beside the program.

How do I keep colors consistent across all the figures of one paper?

Choose one palette for the whole paper and fix what each color means, for example one color per cell type or treatment group, then keep that mapping in every panel. Paste the same code block into every plotting script. If you generate figures in Scientific Figure, press Draw your figure under the palette. It is saved to the palette list of the workspace, so later figures can pick the same nine colors.

Are there AI tools that generate scientific illustrations in a given color palette?

Scientific Figure does. Press Draw your figure under a palette and the workspace opens with those colors set; you describe the figure in a sentence or attach a sketch or a PDF. The prompts of most example figures on this page are published too, so you can start from one that already works. To take colors from a figure you already have, the palette dialog in the workspace builds a palette from an uploaded image.

Compared with other tools

Coolors, ColorBrewer or a scientific color palette library: which should I use?

Use ColorBrewer or Viridis for data that has an order, such as a heatmap or a choropleth map, because their sequential and diverging ramps are built for that. Use Coolors or Adobe Color when you want to invent a palette from scratch for design work; they generate harmonious colors and know nothing about figures. Use this page when you are drawing a scientific figure and want a palette that has already worked in one. It gives you a role for each color, an example figure, color-vision and grayscale checks on real chart types, and code for R and Python.