Swatchproof

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 keywordmediumslateblue
HEX#7B68EE
RGBrgb(123 104 238)
HSLhsl(249 80% 67%)
OKLCHoklch(60.4% 0.194 285.5)
White text4.15:1 · body text AA Fail
Black text5.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.

ColourHEXContrast with Medium slate blueBody text AA
Dull Violet Black#1E0E3F4.25:1Fail
Sulpher Yellow#F5ECC23.49:1Fail
Red Violet#59256A2.67:1Fail
Cinnamon Buff#FDC57E2.66:1Fail
Corinthian Pink#F8B6BA2.45:1Fail
Neutral Gray#B6BFC12.22:1Fail
Violet#4F40862.10:1Fail
Venice Green#62C6BF2.05:1Fail
Eosine Pink#F37F941.64:1Fail
Peach Red#F15A301.23:1Fail
Indian Lake#C53C691.20:1Fail
Dark Citrine#8B835B1.09:1Fail
Olympic Blue#5A82B31.04:1Fail

Palettes with Light Mauve

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.

: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

Similar CSS colours