#9370DB color (mediumpurple)

#9370DB is rgb(147, 112, 219) in RGB and hsl(260, 60%, 65%) in HSL. It is exactly the CSS color mediumpurple. Use black text on it (contrast 5.58:1).

#9370DBmediumpurple
HEX#9370DB
RGBrgb(147, 112, 219)
RGB percentrgb(57.6%, 43.9%, 85.9%)
HSLhsl(260, 60%, 65%)
HSV / HSBhsv(260, 49%, 86%)
CMYKcmyk(33%, 49%, 0%, 14%)
CIELAB (D65)lab(55 36.8 -50.1)

Edit in the color converter → · Check contrast → · Shades →

About #9370DB

#9370DB is a light, saturated violet with a hue angle of 260°. It belongs to the purple family and reads as a cool color. In the RGB model blue is the strongest channel at 219 (86%) and green the weakest at 112 (44%). Colors like this are typically used for illustrations, charts, highlights and secondary buttons.

Color conversions

HEX#9370DB
RGBrgb(147, 112, 219)
RGB percentrgb(57.6%, 43.9%, 85.9%)
HSLhsl(260, 60%, 65%)
HSV / HSBhsv(260, 49%, 86%)
CMYKcmyk(33%, 49%, 0%, 14%)
CIELAB (D65)lab(55 36.8 -50.1)
Decimal9662683
Binary10010011 01110000 11011011

HEX 93 70 DB → 147, 112, 219 (each pair is a base-16 number: 9×16 + 3 = 147)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #9370DB

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #9370DBRatioAA normalAA largeAAA normalAAA large
White text3.76:1FailPassFailFail
Black text5.58:1PassPassFailPass
White text on #9370DB
Black text on #9370DB
#9370DB text on white
#9370DB text on black

Relative luminance is 0.2291 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#4b84df

Deuteranopia
#5282d8

Tritanopia
#83849b

Achromatopsia
#848484

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 16.3). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
mediumpurple#9370db0
mediumslateblue#7b68ee6.1
mediumorchid#ba55d310.1
slateblue#6a5acd10.4

CSS

.element {
  color: #9370db;
  background-color: rgb(147, 112, 219);
  border: 1px solid hsl(260, 60%, 65%);
  box-shadow: 0 2px 8px rgb(147 112 219 / 50%);
}
:root { --brand: #9370db; }

Frequently asked questions

What color is #9370DB?
A light saturated violet in the purple family. Closest CSS name: mediumpurple.
What is #9370DB in RGB?
rgb(147, 112, 219): red 147, green 112, blue 219.
What is the complementary color of #9370DB?
#B8DB70, found by rotating the hue 180°.