Skip to content
PantoneTools
purple
CSS Named Colors

Mediumpurple

mediumpurple · #9370DB

HEX

#9370DB

RGB

rgb(147, 112, 219)

CMYK

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

HSL

hsl(260, 60%, 65%)

LAB

lab(55.0, 36.8, -50.1)

What is Mediumpurple?

Mediumpurple is the mediumpurple reference in the CSS Named Colors. Its sRGB value is #9370DB (rgb 147, 112, 219). It sits in the purple family. The 147 named colors defined by the W3C CSS Color Module Level 4 specification — usable directly in CSS as keywords like 'crimson' or 'rebeccapurple'. See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for Mediumpurple as a background.

Black text on this color

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

White text on this color

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

Shades, tints & tonal scale of Mediumpurple

An 11-step tonal scale derived from Mediumpurple (#9370DB). 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 #F6F4FC

50

#F6F4FC

#F6F4FC

Copied #EEE8F9

100

#EEE8F9

#EEE8F9

Copied #DCD1F3

200

#DCD1F3

#DCD1F3

Copied #C9B8ED

300

#C9B8ED

#C9B8ED

Copied #AE94E4

400

#AE94E4

#AE94E4

Copied #9370DB

500

#9370DB

#9370DB

Copied #7D5FBA

600

#7D5FBA

#7D5FBA

Copied #60498E

700

#60498E

#60498E

Copied #423263

800

#423263

#423263

Copied #251C37

900

#251C37

#251C37

Copied #120D1A

950

#120D1A

#120D1A

Lighter tints (mixed with white)

Copied #A992E1

15%

#A992E1

Copied #BCACE7

30%

#BCACE7

Copied #CDC2EC

45%

#CDC2EC

Copied #DCD5F1

60%

#DCD5F1

Copied #EAE6F7

75%

#EAE6F7

Darker shades (mixed with black)

Copied #8868CC

15%

#8868CC

Copied #7D5FBB

30%

#7D5FBB

Copied #6F54A8

45%

#6F54A8

Copied #604891

60%

#604891

Copied #4C3975

75%

#4C3975

Color harmonies for Mediumpurple

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

Complementary

180° opposite — strongest contrast

Copied #9370DB

#9370DB

#9370DB

Copied #B8DB70

#B8DB70

#B8DB70

Triadic

Three colors 120° apart

Copied #9370DB

#9370DB

#9370DB

Copied #DB9470

#DB9470

#DB9470

Copied #70DB94

#70DB94

#70DB94

Analogous

Two neighbors ±30° on the wheel

Copied #7082DB

#7082DB

#7082DB

Copied #9370DB

#9370DB

#9370DB

Copied #C970DB

#C970DB

#C970DB

Split-complementary

Base + two colors flanking its complement

Copied #9370DB

#9370DB

#9370DB

Copied #DBC970

#DBC970

#DBC970

Copied #82DB70

#82DB70

#82DB70

Tetradic

Two complementary pairs

Copied #9370DB

#9370DB

#9370DB

Copied #DB70B8

#DB70B8

#DB70B8

Copied #B8DB70

#B8DB70

#B8DB70

Copied #70DB94

#70DB94

#70DB94

Square

Four colors evenly spaced 90° apart

Copied #9370DB

#9370DB

#9370DB

Copied #DB7082

#DB7082

#DB7082

Copied #B8DB70

#B8DB70

#B8DB70

Copied #70DBC9

#70DBC9

#70DBC9

Mediumpurple in every color space

Full conversion of Mediumpurple 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

#9370DB

RGB

rgb(147, 112, 219)

CMYK

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

HSL

hsl(260, 60%, 65%)

HSV

hsv(260, 49%, 86%)

HWB

hwb(260 44% 14%)

CIE Lab

lab(55.0 36.8 -50.1)

OKLCH

oklch(62.7% 0.158 296.7)

XYZ (D65)

xyz(30.61, 22.91, 69.81)

Copy-ready code for Mediumpurple

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: #9370DB;
background-color: #9370DB;

CSS variable

:root {
  --color-mediumpurple: #9370DB;
}

Tailwind config

// tailwind.config.js
colors: {
  'mediumpurple': '#9370DB',
}

Sass

$color-mediumpurple: #9370DB;

Swift UIColor

UIColor(red: 0.576, green: 0.439, blue: 0.859, alpha: 1.0)

Android XML

<color name="mediumpurple">#9370DB</color>

Closest match in every color system

The nearest Mediumpurple 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 CSS 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 #49678D

RAL 5023

#49678D

Distant blue

Copied #924E7D

RAL 4008

#924E7D

Signal violet

Copied #3E5F8A

RAL 5007

#3E5F8A

Brilliant blue

FAQ about Mediumpurple

What is the HEX code for Mediumpurple?

Mediumpurple (mediumpurple) has the HEX code #9370DB. In RGB it is rgb(147, 112, 219), and in CMYK it is cmyk(33%, 49%, 0%, 14%).

What is the OKLCH value of Mediumpurple?

Mediumpurple converts to oklch(0.627 0.158 296.7). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Mediumpurple accessible for body text?

Used as a background, Mediumpurple has a contrast ratio of 5.58:1 with black text and 3.76: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 Mediumpurple?

The closest Pantone reference to Mediumpurple 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 Mediumpurple?

The closest RAL Classic reference to Mediumpurple 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 Mediumpurple?

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

Data provenance & source

CSS Named Colors (CSS Color Module Level 4)

The 147 named colors defined by the W3C CSS Color Module Level 4 specification. Origin: VGA (16) + X11 (rest) + 'rebeccapurple'. Use as a reference for web color names that all browsers natively support. Names like 'crimson' or 'rebeccapurple' work as CSS values without any framework.

Source type
derived
Confidence
high
License
W3C permissive document license
Last reviewed
2026-05-24

Workflow tags

css
web-standard
named-keyword
purple

CSS named colors are sRGB digital values defined for browsers. For print, convert to a process-appropriate color and proof against substrate.

CSS Named Colors · Mediumpurple — #9370DB | PantoneTools