WordGPT

Medium purple color (#9370DB)

#9370DB (Medium purple) is a purple colour. It is rgb(147, 112, 219) in RGB and hsl(260, 60%, 65%) in HSL. Text in black reads better on it: the contrast is 5.58:1 against black and 3.76:1 against white.

#9370DB
Medium purple: #9370DB
Complementary#9370DB#B8DB70Analogous#7082DB#9370DB#C970DBTriadic#9370DB#DB9370#70DB93Tetradic (square)#9370DB#DB7082#B8DB70#70DBC9Split complementary#9370DB#DBC970#82DB70
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
1813243125494a386e624b927b5db79370dba588e1b7a0e7c9b8eddbcff3ede7f9
From dark shades (left, mixed with black) to light tints (right, mixed with white)

How to work it out

  1. 1

    A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).

    \mathrm{#9370DB}:\quad R=\mathrm{93}_{16}=147,\ G=\mathrm{70}_{16}=112,\ B=\mathrm{DB}_{16}=219
  2. 2

    HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.

    H=260∘,S=60%,L=65%H=260^\circ,\quad S=60\%,\quad L=65\%
  3. 3

    The complementary colour sits opposite on the wheel: add 180° to the hue.

    260^\circ + 180^\circ = 80^\circ ;\Rightarrow; \mathrm{#B8DB70}
  4. 4

    Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).

    contrast=L1+0.05L2+0.05=3.76:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 3.76:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#9370DB} = \mathrm{rgb}(147, 112, 219) \]
\[ \mathrm{#9370DB}:\quad R=\mathrm{93}_{16}=147,\ G=\mathrm{70}_{16}=112,\ B=\mathrm{DB}_{16}=219 \]
\[ H=260^\circ,\quad S=60\%,\quad L=65\% \]
\[ 260^\circ + 180^\circ = 80^\circ ;\Rightarrow; \mathrm{#B8DB70} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 3.76:1\ \text{(on white)} \]

Medium purple in every colour format

FormatValue
HEX#9370DB
RGBrgb(147, 112, 219)
RGB (percent)rgb(57.6%, 43.9%, 85.9%)
HSLhsl(260, 60%, 65%)
HSV / HSBhsv(260, 49%, 86%)
CMYKcmyk(33%, 49%, 0%, 14%)
Decimal9662683
Descriptionpurple
CSS namemediumpurple

Text contrast (WCAG)

Background of this colour with…ContrastAA normal (4.5)AA large (3)AAA normal (7)AAA large (4.5)
White text3.76:1failpassfailfail
Black text5.58:1passpassfailpass

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#181324 #312549 #4A386E #624B92 #7B5DB7
This colour#9370DB
Tints (mixed with white)#A588E1 #B7A0E7 #C9B8ED #DBCFF3 #EDE7F9

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#4B84DF27
Deuteranopia#5282D826
Tritanopia#83849B50
Grayscale#848484-

Nearest named colours

NameHex
Slate blue#6A5ACD
Medium slate blue#7B68EE
Royal blue#4169E1
Medium orchid#BA55D3

Questions

What is the RGB value of #9370DB?

rgb(147, 112, 219): red 147, green 112, blue 219.

What is the HSL value of #9370DB?

hsl(260, 60%, 65%): a hue of 260°, 60% saturation and 65% lightness.

What is the complementary colour of #9370DB?

#B8DB70, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #6C8F24.

Should I use white or black text on #9370DB?

Black. White gives 3.76:1 and black 5.58:1; the better one passes WCAG AA for normal text.

What is the CMYK value of #9370DB?

cmyk(33%, 49%, 0%, 14%). This is a simple formula conversion; printed colours depend on the printer profile.

Is #9370DB a named colour?

Yes: it is the CSS colour name "mediumpurple".

Matching colours

A little darker, a little lighter

Make a palette

    Medium purple (#9370DB): color code, RGB, HSL, shades and palettes | WordGPT