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
White text on this color
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.
50
#F7F4FE
#F7F4FE
100
#F0EAFC
#F0EAFC
200
#E0D4FA
#E0D4FA
300
#CFBCF7
#CFBCF7
400
#B79BF2
#B79BF2
500
#9F79EE
#9F79EE
600
#8767CA
#8767CA
700
#674F9B
#674F9B
800
#48366B
#48366B
900
#281E3C
#281E3C
950
#130F1D
#130F1D
Lighter tints (mixed with white)
15%
#B298F1
30%
#C3B0F3
45%
#D1C4F6
60%
#DFD7F8
75%
#ECE7FB
Darker shades (mixed with black)
15%
#9470DD
30%
#8766CB
45%
#795BB6
60%
#684E9E
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
#9F79EE
#9F79EE
#C8ED78
#C8ED78
Triadic
Three colors 120° apart
#9F79EE
#9F79EE
#ED9D78
#ED9D78
#78ED9D
#78ED9D
Analogous
Two neighbors ±30° on the wheel
#788DED
#788DED
#9F79EE
#9F79EE
#D878ED
#D878ED
Split-complementary
Base + two colors flanking its complement
#9F79EE
#9F79EE
#EDD878
#EDD878
#8DED78
#8DED78
Tetradic
Two complementary pairs
#9F79EE
#9F79EE
#ED78C8
#ED78C8
#C8ED78
#C8ED78
#78ED9D
#78ED9D
Square
Four colors evenly spaced 90° apart
#9F79EE
#9F79EE
#ED788D
#ED788D
#C8ED78
#C8ED78
#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.
Closest Pantone matches
Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.
Closest RAL Classic matches
Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.
RAL 7000
#7E8B92
Squirrel grey
RAL 7001
#8F999F
Silver grey
RAL 5014
#606E8C
Pigeon blue
RAL 7040
#9DA1AA
Window grey
RAL 5023
#49678D
Distant blue
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 colors are sRGB digital values from a 1980s color system. For print, convert to a process-appropriate color and proof against substrate.