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.
- It is the CSS named color mediumslateblue, so you can write
color: mediumslateblueinstead of the hex code.
Color conversions
| 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%) |
| CIELAB (D65) | lab(52.2 41.1 -65.4) |
| Decimal | 8087790 |
| Binary | 01111011 01101000 11101110 |
HEX 7B 68 EE → 123, 104, 238 (each pair is a base-16 number: 7×16 + B = 123)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
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 #7B68EE | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 4.15:1 | Fail | Pass | Fail | Fail |
| Black text | 5.06:1 | Pass | Pass | Fail | Pass |
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
| Name | HEX | ΔE 2000 |
|---|---|---|
| mediumslateblue | #7b68ee | 0 |
| mediumpurple | #9370db | 6.1 |
| slateblue | #6a5acd | 7.1 |
| royalblue | #4169e1 | 9.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; }