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
White text on this color
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.
50
#F4F3FE
#F4F3FE
100
#EAE7FC
#EAE7FC
200
#D5CFFA
#D5CFFA
300
#BDB4F7
#BDB4F7
400
#9C8EF2
#9C8EF2
500
#7B68EE
#7B68EE
600
#6958CA
#6958CA
700
#50449B
#50449B
800
#372F6B
#372F6B
900
#1F1A3C
#1F1A3C
950
#0F0C1D
#0F0C1D
Lighter tints (mixed with white)
15%
#998DF1
30%
#B1A9F3
45%
#C5C0F6
60%
#D7D4F8
75%
#E7E5FB
Darker shades (mixed with black)
15%
#7260DD
30%
#6858CB
45%
#5D4EB6
60%
#50439E
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
#7B68EE
#7B68EE
#DAEE68
#DAEE68
Triadic
Three colors 120° apart
#7B68EE
#7B68EE
#EE7C68
#EE7C68
#68EE7C
#68EE7C
Analogous
Two neighbors ±30° on the wheel
#6897EE
#6897EE
#7B68EE
#7B68EE
#BF68EE
#BF68EE
Split-complementary
Base + two colors flanking its complement
#7B68EE
#7B68EE
#EEBF68
#EEBF68
#97EE68
#97EE68
Tetradic
Two complementary pairs
#7B68EE
#7B68EE
#EE68DA
#EE68DA
#DAEE68
#DAEE68
#68EE7C
#68EE7C
Square
Four colors evenly spaced 90° apart
#7B68EE
#7B68EE
#EE6897
#EE6897
#DAEE68
#DAEE68
#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.
Closest Pantone matches
Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.
Closest RAL Classic matches
Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.
RAL 7000
#7E8B92
Squirrel grey
RAL 5014
#606E8C
Pigeon blue
RAL 5023
#49678D
Distant blue
RAL 5007
#3E5F8A
Brilliant blue
RAL 5012
#3B83BD
Light blue
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 named colors are sRGB digital values defined for browsers. For print, convert to a process-appropriate color and proof against substrate.