#7B68EE color (mediumslateblue)

#7B68EE is rgb(123, 104, 238) in RGB and hsl(249, 80%, 67%) in HSL. It is exactly the CSS color mediumslateblue. Use black text on it (contrast 5.06:1).

#7B68EEmediumslateblue
HEX#7B68EE
RGBrgb(123, 104, 238)
RGB percentrgb(48.2%, 40.8%, 93.3%)
HSLhsl(249, 80%, 67%)
HSV / HSBhsv(249, 56%, 93%)
CMYKcmyk(48%, 56%, 0%, 7%)
CIELAB (D65)lab(52.2 41.1 -65.4)

Edit in the color converter → · Check contrast → · Shades →

About #7B68EE

#7B68EE is a light, saturated violet with a hue angle of 249°. It belongs to the blue family and reads as a cool color. In the RGB model blue is the strongest channel at 238 (93%) and green the weakest at 104 (41%). Colors like this are typically used for buttons, links, badges and other accents that need to stand out.

Color conversions

HEX#7B68EE
RGBrgb(123, 104, 238)
RGB percentrgb(48.2%, 40.8%, 93.3%)
HSLhsl(249, 80%, 67%)
HSV / HSBhsv(249, 56%, 93%)
CMYKcmyk(48%, 56%, 0%, 7%)
CIELAB (D65)lab(52.2 41.1 -65.4)
Decimal8087790
Binary01111011 01101000 11101110

HEX 7B 68 EE → 123, 104, 238 (each pair is a base-16 number: 7×16 + B = 123)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #7B68EE

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #7B68EERatioAA normalAA largeAAA normalAAA large
White text4.15:1FailPassFailFail
Black text5.06:1PassPassFailPass
White text on #7B68EE
Black text on #7B68EE
#7B68EE text on white
#7B68EE text on black

Relative luminance is 0.2028 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#0280f2

Deuteranopia
#0078eb

Tritanopia
#5286a1

Achromatopsia
#7c7c7c

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 15.3). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
mediumslateblue#7b68ee0
mediumpurple#9370db6.1
slateblue#6a5acd7.1
royalblue#4169e19.5

CSS

.element {
  color: #7b68ee;
  background-color: rgb(123, 104, 238);
  border: 1px solid hsl(249, 80%, 67%);
  box-shadow: 0 2px 8px rgb(123 104 238 / 50%);
}
:root { --brand: #7b68ee; }

Frequently asked questions

What color is #7B68EE?
A light saturated violet in the blue family. Closest CSS name: mediumslateblue.
What is #7B68EE in RGB?
rgb(123, 104, 238): red 123, green 104, blue 238.
What is the complementary color of #7B68EE?
#DBEE68, found by rotating the hue 180°.