Medium Slate Blue color: hex code #7B68EE
Medium Slate Blue has the hex code #7B68EE. It is a light, moderate blue.
In the RGB color model it is made of 48.2% red, 40.8% green and 93.3% blue (123, 104, 238).
Its hue angle is 249°, with 80% saturation and 67% lightness. For print, the CMYK equivalent is 48% cyan, 56% magenta, 0% yellow and 7% black.
You can use it in CSS with the keyword mediumslateblue.
Black text is the more readable choice on this background (contrast 5.06:1).
Medium Slate Blue (#7B68EE) color codes
| HEX | #7B68EE | |
|---|---|---|
| RGB | rgb(123, 104, 238) | |
| RGB percent | rgb(48.2%, 40.8%, 93.3%) | |
| HSL | hsl(249, 80%, 67%) | |
| HSV / HSB | hsv(249, 56%, 93%) | |
| CMYK | cmyk(48%, 56%, 0%, 7%) | |
| CIE LAB | lab(52.16, 41.07, -65.4) | |
| CIE LCH | lch(52.16, 77.22, 302.13) | |
| CIE XYZ | xyz(28.547, 20.283, 83.283) | |
| Decimal | 8087790 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Medium Slate Blue, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #7B68EE | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.06:1 | Pass | Fail | Pass |
| Sample text | 4.15:1 | Fail | Fail | Pass |
| #7B68EE as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.15:1 | Fail | Fail | Pass |
| Sample text | 5.06:1 | Pass | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #7B68EE looks to people with the most common types of color vision deficiency.
#0280f2Protanopia
no red cones#0078ebDeuteranopia
no green cones#5286a1Tritanopia
no blue cones#7c7c7cAchromatopsia
no color vision
CSS examples
.background { background-color: #7b68ee; }
.text { color: #7b68ee; }
.border { border: 2px solid #7b68ee; }
.transparent { background-color: rgb(123 104 238 / 50%); }
.gradient { background: linear-gradient(to right, #7b68ee, #be68ee); }
Similar colors
#7755eeCandy Grape Fizz#9370dbMedium Purple#9370dbMatt Purple#6a5acdSlate Blue#5260e1Arcane Brew#657aefPan Purple#4166f5Secret of Mana#a55af4Orion Nebula
See #7B68EE on its hex code page
Questions
- What color is #7B68EE?
- #7B68EE is a light, moderate blue known as Medium Slate Blue. It belongs to the blue family of colors.
- What is the RGB value of Medium Slate Blue?
- The RGB value is 123, 104, 238: 123 red, 104 green and 238 blue on a 0 to 255 scale.
- What is the complementary color of Medium Slate Blue?
- The complementary color is #DBEE68, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7B68EE?
- Black text. Black text has a contrast ratio of 5.06:1 and white text 4.15:1. WCAG asks for at least 4.5:1 for normal text.