AfoliOpen Afoli →

Medium Purple color #9370DB

Medium Purple is one of the CSS named colors (keyword mediumpurple) with the hex code #9370DB — RGB 147, 112, 219, HSL 260°, 60%, 65%.

Open in Afoli Colour tools →

#9370DBMedium Purple

Color codes

HEX
#9370DB
RGB
rgb(147, 112, 219)
HSL
hsl(260, 60%, 65%)
CMYK
33%, 49%, 0%, 14%
OKLCH
oklch(62.7% 0.158 296.7)
CSS keyword
mediumpurple

Tints and shades

#F6F3FF#DED2FF#C7B0FF#B18EFC#9875E0#7F5CC5#6843AA#522A8F#3D0B75#260050#110029

Color harmonies

Complementary
#9370DB#839200
Analogous
#5C82E7#9370DB#B861BA
Triadic
#9370DB#CB6B00#009F86
Split complementary
#9370DB#AA8200#36A14A
Tetradic
#9370DB#D75B52#839200#009AA9

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Medium Purple text on white3.76 : 165AA for large text only
Medium Purple text on black5.58 : 1-37AA — body text
White text on Medium Purple3.76 : 1-70AA for large text only
Black text on Medium Purple5.58 : 139AA — body text

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

Palettes with this color

Frequently asked questions

What is the hex code of Medium Purple?

Medium Purple has the hex code #9370DB, which is RGB 147, 112, 219 and HSL 260°, 60%, 65%.

Which text color reads best on Medium Purple?

Black text: contrast 5.58 : 1 (white text: 3.76 : 1).

Which colors go well with Medium Purple?

Its complementary color is #839200; analogous colors are #5C82E7 and #B861BA; a triadic set adds #CB6B00 and #009F86.

Similar colors

Sources and licences

Updated November 21, 2026