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%.
#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
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Medium Purple text on white | 3.76 : 1 | 65 | AA for large text only |
| Medium Purple text on black | 5.58 : 1 | -37 | AA — body text |
| White text on Medium Purple | 3.76 : 1 | -70 | AA for large text only |
| Black text on Medium Purple | 5.58 : 1 | 39 | AA — body text |
Palettes with this color
- Darkish Pink & Dark Forest Green
- Lighter Purple & Dark Brown
- Purpley & Dark Brown
- Jungle Green & Pale Lavender
- Deep Lilac & Almost Black
- Cornflower & Dark Brown
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
- Deep Lilac #966EBD
- Amethyst #9B5FC0
- Medium Slate Blue #7B68EE
- Deep Lavender #8D5EB7
- Soft Purple #A66FB5
- Lavender Blue #8B88F8
- Light Urple #B36FF6
- Purpley #8756E4
- Wisteria #A87DC2
- Lighter Purple #A55AF4
Sources and licences
- CSS Color Module Level 4 — named colors (W3C Software and Document License)
- Afoli — conversions, shades, harmonies, WCAG 2.x / APCA contrast (tools/color/color-core.js)