Skip to content
PantoneTools
purple
X11 named colors

Mediumpurple2

mediumpurple2 · #9F79EE

HEX

#9F79EE

RGB

rgb(159, 121, 238)

CMYK

cmyk(33%, 49%, 0%, 7%)

HSL

hsl(259, 77%, 70%)

LAB

lab(59.2, 39.6, -54.0)

What is Mediumpurple2?

Mediumpurple2 is the mediumpurple2 reference in the X11 named colors. Its sRGB value is #9F79EE (rgb 159, 121, 238). It sits in the purple family. Historical X Window System color names — the numbered 1-4 lightness variants of the classic xorg-server rgb.txt palette. See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for Mediumpurple2 as a background.

Black text on this color

Sample text · 6.44 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 3.26 : 1
AA Normal
AA Large
AAA Normal
AAA Large

Shades, tints & tonal scale of Mediumpurple2

An 11-step tonal scale derived from Mediumpurple2 (#9F79EE). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.

Copied #F7F4FE

50

#F7F4FE

#F7F4FE

Copied #F0EAFC

100

#F0EAFC

#F0EAFC

Copied #E0D4FA

200

#E0D4FA

#E0D4FA

Copied #CFBCF7

300

#CFBCF7

#CFBCF7

Copied #B79BF2

400

#B79BF2

#B79BF2

Copied #9F79EE

500

#9F79EE

#9F79EE

Copied #8767CA

600

#8767CA

#8767CA

Copied #674F9B

700

#674F9B

#674F9B

Copied #48366B

800

#48366B

#48366B

Copied #281E3C

900

#281E3C

#281E3C

Copied #130F1D

950

#130F1D

#130F1D

Lighter tints (mixed with white)

Copied #B298F1

15%

#B298F1

Copied #C3B0F3

30%

#C3B0F3

Copied #D1C4F6

45%

#D1C4F6

Copied #DFD7F8

60%

#DFD7F8

Copied #ECE7FB

75%

#ECE7FB

Darker shades (mixed with black)

Copied #9470DD

15%

#9470DD

Copied #8766CB

30%

#8766CB

Copied #795BB6

45%

#795BB6

Copied #684E9E

60%

#684E9E

Copied #533E7F

75%

#533E7F

Color harmonies for Mediumpurple2

Classic color-theory harmonies derived from rotating the hue of Mediumpurple2. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #9F79EE

#9F79EE

#9F79EE

Copied #C8ED78

#C8ED78

#C8ED78

Triadic

Three colors 120° apart

Copied #9F79EE

#9F79EE

#9F79EE

Copied #ED9D78

#ED9D78

#ED9D78

Copied #78ED9D

#78ED9D

#78ED9D

Analogous

Two neighbors ±30° on the wheel

Copied #788DED

#788DED

#788DED

Copied #9F79EE

#9F79EE

#9F79EE

Copied #D878ED

#D878ED

#D878ED

Split-complementary

Base + two colors flanking its complement

Copied #9F79EE

#9F79EE

#9F79EE

Copied #EDD878

#EDD878

#EDD878

Copied #8DED78

#8DED78

#8DED78

Tetradic

Two complementary pairs

Copied #9F79EE

#9F79EE

#9F79EE

Copied #ED78C8

#ED78C8

#ED78C8

Copied #C8ED78

#C8ED78

#C8ED78

Copied #78ED9D

#78ED9D

#78ED9D

Square

Four colors evenly spaced 90° apart

Copied #9F79EE

#9F79EE

#9F79EE

Copied #ED788D

#ED788D

#ED788D

Copied #C8ED78

#C8ED78

#C8ED78

Copied #78EDD8

#78EDD8

#78EDD8

Mediumpurple2 in every color space

Full conversion of Mediumpurple2 across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.

HEX

#9F79EE

RGB

rgb(159, 121, 238)

CMYK

cmyk(33%, 49%, 0%, 7%)

HSL

hsl(259, 77%, 70%)

HSV

hsv(259, 49%, 93%)

HWB

hwb(259 47% 7%)

CIE Lab

lab(59.2 39.6 -54.0)

OKLCH

oklch(66.4% 0.170 296.5)

XYZ (D65)

xyz(36.56, 27.22, 84.20)

Copy-ready code for Mediumpurple2

Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.

CSS

color: #9F79EE;
background-color: #9F79EE;

CSS variable

:root {
  --color-mediumpurple2: #9F79EE;
}

Tailwind config

// tailwind.config.js
colors: {
  'mediumpurple2': '#9F79EE',
}

Sass

$color-mediumpurple2: #9F79EE;

Swift UIColor

UIColor(red: 0.624, green: 0.475, blue: 0.933, alpha: 1.0)

Android XML

<color name="mediumpurple2">#9F79EE</color>

Closest match in every color system

The nearest Mediumpurple2 equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.

Closest in X11 named colors

Top 6 ΔE2000-closest entries within the same collection.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #7E8B92

RAL 7000

#7E8B92

Squirrel grey

Copied #8F999F

RAL 7001

#8F999F

Silver grey

Copied #606E8C

RAL 5014

#606E8C

Pigeon blue

Copied #9DA1AA

RAL 7040

#9DA1AA

Window grey

Copied #49678D

RAL 5023

#49678D

Distant blue

Copied #9EA0A1

RAL 7004

#9EA0A1

Signal grey

FAQ about Mediumpurple2

What is the HEX code for Mediumpurple2?

Mediumpurple2 (mediumpurple2) has the HEX code #9F79EE. In RGB it is rgb(159, 121, 238), and in CMYK it is cmyk(33%, 49%, 0%, 7%).

What is the OKLCH value of Mediumpurple2?

Mediumpurple2 converts to oklch(0.664 0.170 296.5). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Mediumpurple2 accessible for body text?

Used as a background, Mediumpurple2 has a contrast ratio of 6.44:1 with black text and 3.26:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.

What is the closest Pantone to Mediumpurple2?

The closest Pantone reference to Mediumpurple2 by ΔE2000 perceptual distance is Pantone 814 C (#9A66BF). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.

What is the closest RAL color to Mediumpurple2?

The closest RAL Classic reference to Mediumpurple2 by ΔE2000 distance is RAL 7000 (Squirrel grey, #7E8B92). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Mediumpurple2?

The complementary color (180° opposite on the HSL color wheel) of Mediumpurple2 is #C8ED78. Use it for high-contrast accents, error states, or call-to-action pairings.

Data provenance & source

X11 named colors (xorg rgb.txt)

The historical X11 color name list shipped in the xorg-server rgb.txt file. Roughly 550 entries covering classic computing color names like 'PapayaWhip', 'MediumAquamarine', and 'DarkSlateGray'. Many CSS named colors originate here. Use as a reference for legacy and creative color names. Most modern CSS implementations accept these names directly.

Source type
derived
Confidence
high
License
MIT/X11 license (X Consortium)
Last reviewed
2026-05-24

Workflow tags

x11
named-color
legacy
purple

X11 colors are sRGB digital values from a 1980s color system. For print, convert to a process-appropriate color and proof against substrate.

X11 named colors · Mediumpurple2 — #9F79EE | PantoneTools