Skip to content
PantoneTools
blue
CSS Named Colors

Mediumslateblue

mediumslateblue · #7B68EE

HEX

#7B68EE

RGB

rgb(123, 104, 238)

CMYK

cmyk(48%, 56%, 0%, 7%)

HSL

hsl(249, 80%, 67%)

LAB

lab(52.2, 41.1, -65.4)

What is Mediumslateblue?

Mediumslateblue is the mediumslateblue reference in the CSS Named Colors. Its sRGB value is #7B68EE (rgb 123, 104, 238). It sits in the blue family. The 147 named colors defined by the W3C CSS Color Module Level 4 specification — usable directly in CSS as keywords like 'crimson' or 'rebeccapurple'. See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for Mediumslateblue as a background.

Black text on this color

Sample text · 5.06 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 4.15 : 1
AA Normal
AA Large
AAA Normal
AAA Large

Shades, tints & tonal scale of Mediumslateblue

An 11-step tonal scale derived from Mediumslateblue (#7B68EE). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.

Copied #F4F3FE

50

#F4F3FE

#F4F3FE

Copied #EAE7FC

100

#EAE7FC

#EAE7FC

Copied #D5CFFA

200

#D5CFFA

#D5CFFA

Copied #BDB4F7

300

#BDB4F7

#BDB4F7

Copied #9C8EF2

400

#9C8EF2

#9C8EF2

Copied #7B68EE

500

#7B68EE

#7B68EE

Copied #6958CA

600

#6958CA

#6958CA

Copied #50449B

700

#50449B

#50449B

Copied #372F6B

800

#372F6B

#372F6B

Copied #1F1A3C

900

#1F1A3C

#1F1A3C

Copied #0F0C1D

950

#0F0C1D

#0F0C1D

Lighter tints (mixed with white)

Copied #998DF1

15%

#998DF1

Copied #B1A9F3

30%

#B1A9F3

Copied #C5C0F6

45%

#C5C0F6

Copied #D7D4F8

60%

#D7D4F8

Copied #E7E5FB

75%

#E7E5FB

Darker shades (mixed with black)

Copied #7260DD

15%

#7260DD

Copied #6858CB

30%

#6858CB

Copied #5D4EB6

45%

#5D4EB6

Copied #50439E

60%

#50439E

Copied #3F347F

75%

#3F347F

Color harmonies for Mediumslateblue

Classic color-theory harmonies derived from rotating the hue of Mediumslateblue. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #7B68EE

#7B68EE

#7B68EE

Copied #DAEE68

#DAEE68

#DAEE68

Triadic

Three colors 120° apart

Copied #7B68EE

#7B68EE

#7B68EE

Copied #EE7C68

#EE7C68

#EE7C68

Copied #68EE7C

#68EE7C

#68EE7C

Analogous

Two neighbors ±30° on the wheel

Copied #6897EE

#6897EE

#6897EE

Copied #7B68EE

#7B68EE

#7B68EE

Copied #BF68EE

#BF68EE

#BF68EE

Split-complementary

Base + two colors flanking its complement

Copied #7B68EE

#7B68EE

#7B68EE

Copied #EEBF68

#EEBF68

#EEBF68

Copied #97EE68

#97EE68

#97EE68

Tetradic

Two complementary pairs

Copied #7B68EE

#7B68EE

#7B68EE

Copied #EE68DA

#EE68DA

#EE68DA

Copied #DAEE68

#DAEE68

#DAEE68

Copied #68EE7C

#68EE7C

#68EE7C

Square

Four colors evenly spaced 90° apart

Copied #7B68EE

#7B68EE

#7B68EE

Copied #EE6897

#EE6897

#EE6897

Copied #DAEE68

#DAEE68

#DAEE68

Copied #68EEBF

#68EEBF

#68EEBF

Mediumslateblue in every color space

Full conversion of Mediumslateblue across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.

HEX

#7B68EE

RGB

rgb(123, 104, 238)

CMYK

cmyk(48%, 56%, 0%, 7%)

HSL

hsl(249, 80%, 67%)

HSV

hsv(249, 56%, 93%)

HWB

hwb(249 41% 7%)

CIE Lab

lab(52.2 41.1 -65.4)

OKLCH

oklch(60.4% 0.194 285.5)

XYZ (D65)

xyz(28.55, 20.28, 83.28)

Copy-ready code for Mediumslateblue

Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.

CSS

color: #7B68EE;
background-color: #7B68EE;

CSS variable

:root {
  --color-mediumslateblue: #7B68EE;
}

Tailwind config

// tailwind.config.js
colors: {
  'mediumslateblue': '#7B68EE',
}

Sass

$color-mediumslateblue: #7B68EE;

Swift UIColor

UIColor(red: 0.482, green: 0.408, blue: 0.933, alpha: 1.0)

Android XML

<color name="mediumslateblue">#7B68EE</color>

Closest match in every color system

The nearest Mediumslateblue equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.

Closest in CSS Named Colors

Top 6 ΔE2000-closest entries within the same collection.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #7E8B92

RAL 7000

#7E8B92

Squirrel grey

Copied #606E8C

RAL 5014

#606E8C

Pigeon blue

Copied #49678D

RAL 5023

#49678D

Distant blue

Copied #3E5F8A

RAL 5007

#3E5F8A

Brilliant blue

Copied #3B83BD

RAL 5012

#3B83BD

Light blue

Copied #2271B3

RAL 5015

#2271B3

Sky blue

FAQ about Mediumslateblue

What is the HEX code for Mediumslateblue?

Mediumslateblue (mediumslateblue) has the HEX code #7B68EE. In RGB it is rgb(123, 104, 238), and in CMYK it is cmyk(48%, 56%, 0%, 7%).

What is the OKLCH value of Mediumslateblue?

Mediumslateblue converts to oklch(0.604 0.194 285.5). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Mediumslateblue accessible for body text?

Used as a background, Mediumslateblue has a contrast ratio of 5.06:1 with black text and 4.15:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.

What is the closest Pantone to Mediumslateblue?

The closest Pantone reference to Mediumslateblue by ΔE2000 perceptual distance is Pantone 814 C (#9A66BF). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.

What is the closest RAL color to Mediumslateblue?

The closest RAL Classic reference to Mediumslateblue by ΔE2000 distance is RAL 7000 (Squirrel grey, #7E8B92). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Mediumslateblue?

The complementary color (180° opposite on the HSL color wheel) of Mediumslateblue is #DAEE68. Use it for high-contrast accents, error states, or call-to-action pairings.

Data provenance & source

CSS Named Colors (CSS Color Module Level 4)

The 147 named colors defined by the W3C CSS Color Module Level 4 specification. Origin: VGA (16) + X11 (rest) + 'rebeccapurple'. Use as a reference for web color names that all browsers natively support. Names like 'crimson' or 'rebeccapurple' work as CSS values without any framework.

Source type
derived
Confidence
high
License
W3C permissive document license
Last reviewed
2026-05-24

Workflow tags

css
web-standard
named-keyword
blue

CSS named colors are sRGB digital values defined for browsers. For print, convert to a process-appropriate color and proof against substrate.

CSS Named Colors · Mediumslateblue — #7B68EE | PantoneTools