Medium slate blue #7B68EE
Medium slate blue is one of the named colours in CSS, written mediumslateblue. Black text reaches 5.06:1 on it, enough for body text.
Try on walls Preview on a website
Colour codes
| CSS keyword | mediumslateblue |
|---|---|
| HEX | #7B68EE |
| RGB | rgb(123 104 238) |
| HSL | hsl(249 80% 67%) |
| OKLCH | oklch(60.4% 0.194 285.5) |
| White text | 4.15:1 · body text AA Fail |
| Black text | 5.06:1 · body text AA Pass |
Colours that go with Medium slate blue
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 slate blue itself.
| Colour | HEX | Contrast with Medium slate blue | Body text AA |
|---|---|---|---|
| Dull Violet Black | #1E0E3F | 4.25:1 | Fail |
| Sulpher Yellow | #F5ECC2 | 3.49:1 | Fail |
| Red Violet | #59256A | 2.67:1 | Fail |
| Cinnamon Buff | #FDC57E | 2.66:1 | Fail |
| Corinthian Pink | #F8B6BA | 2.45:1 | Fail |
| Neutral Gray | #B6BFC1 | 2.22:1 | Fail |
| Violet | #4F4086 | 2.10:1 | Fail |
| Venice Green | #62C6BF | 2.05:1 | Fail |
| Eosine Pink | #F37F94 | 1.64:1 | Fail |
| Peach Red | #F15A30 | 1.23:1 | Fail |
| Indian Lake | #C53C69 | 1.20:1 | Fail |
| Dark Citrine | #8B835B | 1.09:1 | Fail |
| Olympic Blue | #5A82B3 | 1.04: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 slate blue
Nine lightness steps in OKLCH that keep the hue of Medium slate blue. Chroma is reduced only where sRGB cannot show it.
- 100#F4F4FF
- 200#E1E1FF
- 300#C8C7FF
- 400#AAA4FF
- 500#8B7BFF
- 600#6C57DB
- 700#5236B9
- 800#3B0C98
- 900#220062
:root {
--mediumslateblue-100: #F4F4FF;
--mediumslateblue-200: #E1E1FF;
--mediumslateblue-300: #C8C7FF;
--mediumslateblue-400: #AAA4FF;
--mediumslateblue-500: #8B7BFF;
--mediumslateblue-600: #6C57DB;
--mediumslateblue-700: #5236B9;
--mediumslateblue-800: #3B0C98;
--mediumslateblue-900: #220062;
}
Text that keeps Medium slate blue on screen
Text #000000 on #7B68EE reaches 5.06:1, which passes WCAG AA for body text. Check it on a dashboard