Skip to content

Medium Purple (#9370DB)

The hex code for Medium Purple is #9370DB. It is rgb(147, 112, 219) in RGB, hsl(260, 60%, 65%) in HSL, and about cmyk(33%, 49%, 0%, 14%) in CMYK — a light purple. Black text is the more readable choice on this background.

#9370DB
HEX#9370DB
RGBrgb(147, 112, 219)
HSLhsl(260, 60%, 65%)
HSVhsv(260, 49%, 86%)
CMYKcmyk(33%, 49%, 0%, 14%)
OKLCHoklch(62.7% 0.158 296.7)
LABlab(54.45% 31.71 -50.62)
LCHlch(54.45% 59.73 302.06)

Colors Closest to Medium Purple

Medium Purple is a registered color name. These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.

Browse the full index of named colors A-Z or every purple in the library.

#9370DB Channel Values

How Medium Purple breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 147 · G 112 · B 2198-bit channels as sent to the display
HSLH 260° · S 60% · L 65%Easiest model for building lighter and darker variants
HSVH 260° · S 49% · V 86%Matches the picker in most design tools
CMYKC 33% · M 49% · Y 0% · K 14%Approximate ink mix; confirm with an ICC profile before printing
Luminance3.76:1 vs white · 5.58:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a Medium Purple background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

Fails AAWhite text3.76:1AA normal AA large AAA normal
TextBlack text5.58:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #9370DB in the contrast checker.

Colors That Go With Medium Purple

Pairings derived from color-wheel relationships. The complementary color sits opposite Medium Purple; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of Medium Purple

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #9370DB.

How Medium Purple Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#9370DB
Protanopia#7777DB
Protanomaly#8374DB
Deuteranopia#7D7DDB
Deuteranomaly#8678DB
Tritanopia#828484
Tritanomaly#897DAE
Achromatopsia#848484

Test a full palette in the color blindness simulator.

Using #9370DB in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--medium-purple: #9370DB;
CSS backgroundbackground-color: #9370DB;
Tailwind configcolors: { 'medium-purple': '#9370DB' }
SwiftUIColor(red: 0.576, green: 0.439, blue: 0.859)
Android XML<color name="medium_purple">#9370DB</color>
SVG fillfill="#9370DB"

More Purple Colors

Medium Purple sits in the purple family. These are its neighbours across that family's full range, each with its own breakdown.

#9370DB Frequently Asked Questions

What is the hex code for Medium Purple?

The hex code for Medium Purple is #9370DB. That is rgb(147, 112, 219) in RGB, hsl(260, 60%, 65%) in HSL, and approximately cmyk(33%, 49%, 0%, 14%) in CMYK.

What is the RGB value of #9370DB?

#9370DB is rgb(147, 112, 219) — red 147, green 112, and blue 219 on the 0-255 scale.

What is the CMYK value of #9370DB?

#9370DB converts to approximately cmyk(33%, 49%, 0%, 14%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #9370DB be black or white?

Black text is the more readable choice. #9370DB scores 3.76:1 against white and 5.58:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Is MediumPurple a CSS named color?

Yes. MediumPurple is one of the CSS named colors, so you can write color: mediumpurple instead of the hex code.

Open Medium Purple in a Tool

Keep exploring: every purple in the color library, the guide to shades of purple, or the full color library.