TintShelf
Interface

Medium Purple Color Code: Hex #9370DB

The hex code for Medium Purple is #9370DB (the CSS keyword mediumpurple). Medium Purple RGB code: rgb(147, 112, 219). The xkcd color survey gives #9E43A2 instead, which looks clearly different; both codes are below with their source.

CSS Color 4#9370DBTop: the code browsers use
xkcd color survey, meodai color-name-list#9E43A2Below: compare edge to edge

Medium Purple color codes: each Medium Purple hex code in every format

HEX#9370DB
RGBrgb(147, 112, 219)
HSLhsl(260, 60%, 65%)
OKLCHoklch(62.7% 0.158 296.7)
LABlab(54.5 31.7 -50.6)
CMYKcmyk(33%, 49%, 0%, 14%)

Sources

CSS Color 4web standard keyword
xkcd color survey2010 naming survey
meodai color-name-listopen community list

Properties

Hex codes
2 different ones in 3 color lists; they look clearly different
Family
purple
Contrast
3.76:1 with white, 5.58:1 with black
CSS keyword
mediumpurple
Character
mid-tone, vivid
Readable text on it
black (AA)

It shares saturation and lightness with orchid and pale violet red in the X11 set, at about 60% saturation and 65% lightness.

A mid-tone, vivid violet with a cool cast. In code, mediumpurple gives exactly this web value. If you mean the color as people usually picture the name, the survey value #9E43A2 is closer: it is darker and more vivid.

Black text reads best on it; white text works only for large headings. Its exact opposite on the color wheel cannot be shown on screens, so the complementary palette uses the closest displayable version. Even pale tints keep its hue, which makes it easy to use for soft backgrounds. Next to Medium Slate Blue, its closest named neighbour, it looks lighter, more muted and warmer; beside Periwinkle it looks darker, more muted and warmer.

Colors that go with Medium Purple

Complementary: the opposite of Medium Purple

Open in generator

  • #9370DBBlack text 5.58:1
  • #839200Black text 6.08:1
  • #C1B1EEBlack text 10.79:1
  • #4F5900White text 7.60:1

Analogous

Open in generator

  • #5C82E7Black text 5.80:1
  • #9370DBBlack text 5.58:1
  • #B861BABlack text 5.46:1
  • #D2C6F3Black text 13.11:1

Triadic

Open in generator

  • #9370DBBlack text 5.58:1
  • #CB6B00Black text 5.64:1
  • #009F86Black text 6.30:1
  • #E2DBF8Black text 15.72:1

Monochrome

Open in generator

  • #251A3CWhite text 16.26:1
  • #594387White text 8.15:1
  • #9370DBBlack text 5.58:1
  • #B19CE8Black text 8.79:1
  • #D2C6F3Black text 13.11:1

With neutrals

Open in generator

  • #9370DBBlack text 5.58:1
  • #E2DBF8Black text 15.72:1
  • #0E081BWhite text 19.64:1
  • #857D9CBlack text 5.41:1

How tints, shades and harmonies are calculated

Preview

Heading on Medium Purple

Body text on this color, 5.58:1.

Button

Heading in Medium Purple

Text in this color on white, 3.76:1.

Button

Tints and shades

  1. #E2DBF8
  2. #D2C6F3
  3. #C1B1EE
  4. #B19CE8
  5. #A286E2
  6. #9370DB
  7. #7559B0
  8. #594387
  9. #3E2E60
  10. #251A3C
  11. #0E081B

WhiteMedium PurpleBlack

Similar named colors

Where the name comes from

Try it:

Screens show the same code differently, and print adds more variation. CMYK here is the plain formula without a printer profile, so use it as a starting point, not a press value. Contrast numbers follow WCAG 2.x.