Skip to content

#6d4eee

a balanced, electric blue · cool · closest name: Slate Blue

RGB
109, 78, 238
HSL
252°, 83%, 62%
CMYK
54, 67, 0, 7
Luminance
0.1487

At a glance

Every number on this page in one read: what #6d4eee is made of, how bright it looks, and which way it leans.

Hex
#6d4eee
Hue
252°
blue
Saturation
83%
electric
Lightness
62%
balanced
Brightness
93%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1487
WCAG relative
Temperature
Cool
77/100 cool
Color family
Blue
Tone
Electric
Best ink
White
5.28:1
Closest name
Slate Blue
ΔE2000 5.2
Where it sits
Hue252° of 360°
Saturation83%
Lightness62%
Temperature
Warm ← → Cool77% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#6d4eee
RGBrgb(109, 78, 238)
HSLhsl(252, 83%, 62%)
CMYKcmyk(54%, 67%, 0%, 7%)
LABlab(45.5 53.1 -76.3)
LCHlch(45.5 93.0 304.8)
OKLCHoklch(0.553 0.227 285.1)
Decimal7163630
Display P3color(display-p3 0.427 0.306 0.933)

Copy-ready code

/* CSS */
color: #6d4eee;
background-color: #6d4eee;
/* Tailwind (arbitrary) */
class="text-[#6d4eee] bg-[#6d4eee]"
/* SCSS */
$brand: #6d4eee;
/* SwiftUI */
Color(red: 0.427, green: 0.306, blue: 0.933)
/* Android */
Color.parseColor("#6d4eee")
/* Flutter */
Color(0xFF6D4EEE)
/* Python / OpenCV (BGR) */
(238, 78, 109)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #6d4eee · 5.28:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.28:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.97:1
AA fail · AA large pass · AAA fail
Reading the other direction: #6d4eee as text scores 5.28:1 on white and 3.97:1 on black.

Accessibility — WCAG contrast

Aa
#6d4eee on white: 5.28:1
AA ✓ pass · AA-large · AAA
Aa
#6d4eee on black: 3.97:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0070F3
deuteranopia · #0067EB
tritanopia · #337798

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #6d4eee is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F4F2FC
#EAE6FA
#CFC6F6
#AB99F5
#6d4eee
#5632EB
#3C15DF
#3212BA
#280E95
#210F6C
#140943
Base = 400Lightest = 50 · #F4F2FCDarkest = 950 · #140943
:root {
  --brand-50: #F4F2FC;
  --brand-100: #EAE6FA;
  --brand-200: #CFC6F6;
  --brand-300: #AB99F5;
  --brand-400: #6d4eee;
  --brand-500: #5632EB;
  --brand-600: #3C15DF;
  --brand-700: #3212BA;
  --brand-800: #280E95;
  --brand-900: #210F6C;
  --brand-950: #140943;
  --brand: #6d4eee;
  --brand-ink: #ffffff;
}

Colors that work with #6d4eee

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F5F4FA
Tinted page background
Border#C8C0ED
Hairlines and dividers
Muted text#5A4B9B
Captions on the surface
Accent#BEB40E
Second voice, not a rival
Dark variant#1F0B74
Hover, pressed, headers
Light variant#ECE8FD
Selected rows, tints
Dark surface#171424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #6d4eee

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#CFEE4E
Analogous left#4E7FEE
Analogous right#BD4EEE
Split-complement 1#EEBD4E
Split-complement 2#7FEE4E
Triadic 1#EE6D4E
Triadic 2#4EEE6D
Tetradic#EE4E7F

RGB percentages

Red42.7%
Green30.6%
Blue93.3%

CMYK percentages

Cyan54.2%
Magenta67.2%
Yellow0.0%
Key (black)6.7%

Color previews

#6d4eee text on a black background

contrast 3.97:1

Card sample

#6d4eee text on a white background

contrast 5.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #6d4eee;
Background color
Panel with #6d4eee background
background-color: #6d4eee;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #6d4eee;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(109, 78, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(109, 78, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6d4eee;
background: linear-gradient(135deg, #6d4eee, #D84EEE);

Monochromatic scale

Palettes built from #6d4eee

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#6d4eee in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#6d4eee, answered

What color is #6d4eee?

#6d4eee is a balanced electric blue, closest to Slate Blue (ΔE2000 5.2). It sits at 252° on the hue wheel with 83% saturation and 62% lightness, which reads as cool.

What is the RGB value of #6d4eee?

rgb(109, 78, 238) — 109 red, 78 green and 238 blue out of 255, or 42.7% / 30.6% / 93.3% by channel.

Is #6d4eee a light or a dark color?

It is a dark color. Relative luminance is 0.1487 and perceived brightness is 46%, so white text on it reaches 5.28:1.

Should I use black or white text on #6d4eee?

White. It scores 5.28:1 against #6d4eee, versus 3.97:1 for black — AA at any size.

What is the complementary color of #6d4eee?

#CFEE4E sits directly opposite on the wheel. Softer options are the split-complements #EEBD4E and #7FEE4E, which give the same contrast with far less vibration.

What colors go well with #6d4eee?

For interface work: #F5F4FA as the surface, #C8C0ED for borders, #5A4B9B for secondary text, #BEB40E as an accent and #1F0B74 for hover and pressed states. For a palette, the analogous pair #4E7FEE and #BD4EEE stays calm, while #CFEE4E is the loudest partner.

What is #6d4eee in CMYK for printing?

cmyk(54%, 67%, 0%, 7%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #6d4eee warm or cool?

Cool — it scores 77 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A84EEE; nudged cooler, #4C69F0.

Work with #6d4eee in the Color Lab