Medium purple #9370DB
Medium purple is one of the named colours in CSS, written mediumpurple. Black text reaches 5.58:1 on it, enough for body text.
Try on walls Preview on a website
Colour codes
| CSS keyword | mediumpurple |
|---|---|
| HEX | #9370DB |
| RGB | rgb(147 112 219) |
| HSL | hsl(260 60% 65%) |
| OKLCH | oklch(62.7% 0.158 296.7) |
| White text | 3.76:1 · body text AA Fail |
| Black text | 5.58:1 · body text AA Pass |
Colours that go with Medium purple
The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Light Mauve (#9A72AA), the nearest, though visibly different. These are the colours Wada paired it with, ranked by their contrast with Medium purple itself.
| Colour | HEX | Contrast with Medium purple | Body text AA |
|---|---|---|---|
| Dull Violet Black | #1E0E3F | 4.69:1 | Pass |
| Sulpher Yellow | #F5ECC2 | 3.16:1 | Fail |
| Red Violet | #59256A | 2.94:1 | Fail |
| Cinnamon Buff | #FDC57E | 2.41:1 | Fail |
| Violet | #4F4086 | 2.32:1 | Fail |
| Corinthian Pink | #F8B6BA | 2.22:1 | Fail |
| Neutral Gray | #B6BFC1 | 2.01:1 | Fail |
| Venice Green | #62C6BF | 1.85:1 | Fail |
| Eosine Pink | #F37F94 | 1.48:1 | Fail |
| Indian Lake | #C53C69 | 1.32:1 | Fail |
| Peach Red | #F15A30 | 1.12:1 | Fail |
| Olympic Blue | #5A82B3 | 1.06:1 | Fail |
| Dark Citrine | #8B835B | 1.02:1 | Fail |
Palettes with Light Mauve
- Combination #23 Cinnamon Buff · Light Mauve
- Combination #80 Sulpher Yellow · Light Mauve
- Combination #128 Corinthian Pink · Venice Green · Light Mauve
- Combination #134 Eosine Pink · Light Mauve · Red Violet
- Combination #180 Cinnamon Buff · Light Mauve · Neutral Gray
- Combination #274 Peach Red · Dark Citrine · Olympic Blue · Light Mauve
- Combination #331 Indian Lake · Dull Violet Black · Light Mauve · Violet
Shades and tints of Medium purple
Nine lightness steps in OKLCH that keep the hue of Medium purple. Chroma is reduced only where sRGB cannot show it.
- 100#F6F3FF
- 200#E7DFFF
- 300#D3C3FF
- 400#BA9DFF
- 500#9D7AE6
- 600#7C59C1
- 700#603AA0
- 800#461A81
- 900#2B0059
:root {
--mediumpurple-100: #F6F3FF;
--mediumpurple-200: #E7DFFF;
--mediumpurple-300: #D3C3FF;
--mediumpurple-400: #BA9DFF;
--mediumpurple-500: #9D7AE6;
--mediumpurple-600: #7C59C1;
--mediumpurple-700: #603AA0;
--mediumpurple-800: #461A81;
--mediumpurple-900: #2B0059;
}
Text that keeps Medium purple on screen
Text #000000 on #9370DB reaches 5.58:1, which passes WCAG AA for body text. Check it on a dashboard