MediumPurple color

Inspect MediumPurple (#9370DB) in HEX, RGB, HSL, LCH and OKLCH, check its contrast, and copy the value you need.

#9370db

MediumPurple

MediumPurple color values

MediumPurple

#9370DB

Black text reads best on this background, at 5.58:1.

MediumPurple is one of the 148 CSS named colors, and resolves to #9370DB in every browser. In numbers that is rgb(147, 112, 219) and hsl(260, 60%, 65%). Perceptually it is a mid-toned, moderately saturated color: OKLCH puts its lightness at 63% and its chroma at 0.158. It sits in the purples at 297 degrees of OKLCH hue, and reads as a cool color.

White text only reaches 3.76:1 here, so black text is the safer pairing at 5.58:1. That combination of lightness and chroma makes it a workable mid-tone, the kind of value that lands in the middle of a shade scale.

The closest CSS named colors to MediumPurple, measured with CIEDE2000, are MediumSlateBlue (#7B68EE), MediumOrchid (#BA55D3), SlateBlue (#6A5ACD). If MediumPurple is not quite right, those are the nearest keywords to try before reaching for a custom value.

HEX

#9370DB

RGB

rgb(147, 112, 219)

HSL

hsl(260, 60%, 65%)

HWB

hwb(260 44% 14%)

CMYK

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

LAB

lab(54.45 31.71 -50.62)

LCH

lch(54.45 59.73 302.06)

OKLCH

oklch(62.69% 0.158 296.67)

Is MediumPurple accessible?

WCAG asks for 4.5:1 between body text and its background. On #9370DB white text measures 3.76:1 and black text 5.58:1, so black clears it and white does not.

White text on MediumPurple

WCAG 2.2

3.76:1

APCA

Lc 70

Fails AA body text

Fails AAA body text

Passes AA large text

Black text on MediumPurple

WCAG 2.2

5.58:1

APCA

Lc 39

Passes AA body text

Fails AAA body text

Passes AA large text

Check MediumPurple against any other color in the contrast checker.

Tints and shades of MediumPurple

MediumPurple sits at 63% OKLCH lightness. Holding its hue and chroma and moving only that value carries it up to #F9F7FF and down to #09001B, which keeps the family recognizable instead of letting it drift toward gray the way a plain HSL ramp does.

Tints, toward white

#A886F3

20% lighter

#BCA1FF

40% lighter

#D0BEFF

60% lighter

#E4DBFF

80% lighter

#F9F7FF

100% lighter

Shades, toward black

#7551B9

20% darker

#593298

40% darker

#3F0F78

60% darker

#23004A

80% darker

#09001B

100% darker

Build a full accessible scale from #9370DB in the shade generator.

Colors that go with MediumPurple

Hues rotated around #9370DB in OKLCH, then pulled back into the sRGB gamut. Each swatch is labelled with the nearest CSS named color so you have a keyword to start from.

Complementary

MediumPurple sits at 297 degrees. Rotating it a half turn lands on 117 degrees, the hue directly opposite. It is the strongest pairing you can make without changing lightness, and the one most likely to vibrate if you use both at full chroma.

Analogous

The neighbors of MediumPurple at 267 and 327 degrees. They stay close enough to read as the same family, which is what you want for hover states, secondary surfaces and gradients.

Triadic

297, 57 and 177 degrees divide the wheel into thirds. Balanced enough to carry a whole palette without one color dominating the other two.

Split complementary

Instead of the complement at 117 degrees, this pair flanks it at 87 and 147. You keep most of the contrast of a complementary pairing while losing the harshness.

Explore more combinations around MediumPurple on the color wheel.

How MediumPurple looks with color blindness

The biggest shift is under achromatopsia, where #9370DB reads as #7F7F7F, 26.1 CIEDE2000 units away. If MediumPurple is the only thing marking a state or a series, roughly one viewer in twelve will miss it.

Protanopia

#5F7FE0

Deuteranopia

#647FD7

Tritanopia

#897D91

Achromatopsia

#7F7F7F

Colors similar to MediumPurple

The nearest CSS keywords to #9370DB, ranked by perceptual distance rather than by how close their hex digits happen to look.