Skip to content

#6c5df9

a light, electric blue · cool · closest name: Medium Slate Blue

RGB
108, 93, 249
HSL
246°, 93%, 67%
CMYK
57, 63, 0, 2
Luminance
0.1786

At a glance

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

Hex
#6c5df9
Hue
246°
blue
Saturation
93%
electric
Lightness
67%
light
Brightness
98%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1786
WCAG relative
Temperature
Cool
80/100 cool
Color family
Blue
Tone
Electric
Best ink
White
4.59:1
Closest name
Medium Slate Blue
ΔE2000 3.9
Where it sits
Hue246° of 360°
Saturation93%
Lightness67%
Temperature
Warm ← → Cool80% 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#6c5df9
RGBrgb(108, 93, 249)
HSLhsl(246, 93%, 67%)
CMYKcmyk(57%, 63%, 0%, 2%)
LABlab(49.3 47.9 -76.2)
LCHlch(49.3 90.0 302.2)
OKLCHoklch(0.583 0.223 281.3)
Decimal7101945
Display P3color(display-p3 0.424 0.365 0.976)

Copy-ready code

/* CSS */
color: #6c5df9;
background-color: #6c5df9;
/* Tailwind (arbitrary) */
class="text-[#6c5df9] bg-[#6c5df9]"
/* SCSS */
$brand: #6c5df9;
/* SwiftUI */
Color(red: 0.424, green: 0.365, blue: 0.976)
/* Android */
Color.parseColor("#6c5df9")
/* Flutter */
Color(0xFF6C5DF9)
/* Python / OpenCV (BGR) */
(249, 93, 108)

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 #6c5df9 · 4.59:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.59:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.57:1
AA pass · AA large pass · AAA fail
Reading the other direction: #6c5df9 as text scores 4.59:1 on white and 4.57:1 on black.

Accessibility — WCAG contrast

Aa
#6c5df9 on white: 4.59:1
AA ✓ pass · AA-large · AAA
Aa
#6c5df9 on black: 4.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #007BFE
deuteranopia · #0070F6
tritanopia · #1A84A3

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #6c5df9 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.

#F3F2FD
#E6E4FB
#C8C2F9
#9D93FB
#6c5df9
#3B27F7
#1F09EC
#1A07C5
#14069D
#130972
#0C0647
Base = 400Lightest = 50 · #F3F2FDDarkest = 950 · #0C0647
:root {
  --brand-50: #F3F2FD;
  --brand-100: #E6E4FB;
  --brand-200: #C8C2F9;
  --brand-300: #9D93FB;
  --brand-400: #6c5df9;
  --brand-500: #3B27F7;
  --brand-600: #1F09EC;
  --brand-700: #1A07C5;
  --brand-800: #14069D;
  --brand-900: #130972;
  --brand-950: #0C0647;
  --brand: #6c5df9;
  --brand-ink: #ffffff;
}

Colors that work with #6c5df9

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#C4C0ED
Hairlines and dividers
Muted text#524B9B
Captions on the surface
Accent#C8AA04
Second voice, not a rival
Dark variant#10057B
Hover, pressed, headers
Light variant#E9E6FE
Selected rows, tints
Dark surface#151424
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 #6c5df9

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

Works well for
  • Body text and links on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • 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#EAF95D
Analogous left#5D9CF9
Analogous right#BA5DF9
Split-complement 1#F9BA5D
Split-complement 2#9CF95D
Triadic 1#F96C5D
Triadic 2#5DF96C
Tetradic#F95D9C

RGB percentages

Red42.4%
Green36.5%
Blue97.6%

CMYK percentages

Cyan56.6%
Magenta62.7%
Yellow0.0%
Key (black)2.4%

Color previews

#6c5df9 text on a black background

contrast 4.57:1

Card sample

#6c5df9 text on a white background

contrast 4.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(108, 93, 249, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(108, 93, 249, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6c5df9;
background: linear-gradient(135deg, #6c5df9, #D45DF9);

Monochromatic scale

Palettes built from #6c5df9

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.

#6c5df9 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
SurfacesBadgesHighlightsEmpty states
Print note

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

#6c5df9, answered

What color is #6c5df9?

#6c5df9 is a light electric blue, closest to Medium Slate Blue (ΔE2000 3.9). It sits at 246° on the hue wheel with 93% saturation and 67% lightness, which reads as cool.

What is the RGB value of #6c5df9?

rgb(108, 93, 249) — 108 red, 93 green and 249 blue out of 255, or 42.4% / 36.5% / 97.6% by channel.

Is #6c5df9 a light or a dark color?

It is a dark color. Relative luminance is 0.1786 and perceived brightness is 49%, so white text on it reaches 4.59:1.

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

White. It scores 4.59:1 against #6c5df9, versus 4.57:1 for black — AA at any size.

What is the complementary color of #6c5df9?

#EAF95D sits directly opposite on the wheel. Softer options are the split-complements #F9BA5D and #9CF95D, which give the same contrast with far less vibration.

What colors go well with #6c5df9?

For interface work: #F5F4FA as the surface, #C4C0ED for borders, #524B9B for secondary text, #C8AA04 as an accent and #10057B for hover and pressed states. For a palette, the analogous pair #5D9CF9 and #BA5DF9 stays calm, while #EAF95D is the loudest partner.

What is #6c5df9 in CMYK for printing?

cmyk(57%, 63%, 0%, 2%). 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 #6c5df9 warm or cool?

Cool — it scores 80 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A55DF9; nudged cooler, #5B80FB.

Work with #6c5df9 in the Color Lab