Reference manual/Color library
Back to x11names
COLOR USAGE GUIDE · x11names

MediumPurple2.

A case-sensitive color name from the x11names color set.

#9F79EEA little color.
A lot of possibility.
MediumPurple2 · x11names

Color specification

Color set
x11names
Native model
rgb
Native values
0.624,0.475,0.932
Screen hex
#9F79EE

Screen values are approximate. CMYK previews use xcolor’s conversion; printed output depends on your driver and color profile.

\definecolor{myMediumPurple2}{rgb}{0.624,0.475,0.932}

Use MediumPurple2 in your document

1. Load the color set

Add this to your preamble before \begin{document}.

\usepackage[x11names]{xcolor}

2. Color some text

Apply color to a word, sentence, or heading.

\textcolor{MediumPurple2}{A little color goes a long way.}
Preview text in simulator

Add a background

Place a colored box behind a small piece of text.

\colorbox{MediumPurple2!20}{Highlighted text}
Preview background in simulator

Make a lighter shade

Mix 40% MediumPurple2 with 60% white.

\colorlet{myShade}{MediumPurple2!40}
\textcolor{myShade}{A softer shade}
Open in color mixer
Explore more xcolor commands