Skip to content

#856cf0

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

RGB
133, 108, 240
HSL
251°, 82%, 68%
CMYK
45, 55, 0, 6
Luminance
0.2200

At a glance

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

Hex
#856cf0
Hue
251°
blue
Saturation
82%
electric
Lightness
68%
light
Brightness
94%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2200
WCAG relative
Temperature
Cool
77/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
5.40:1
Closest name
Medium Slate Blue
ΔE2000 2.1
Where it sits
Hue251° of 360°
Saturation82%
Lightness68%
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#856cf0
RGBrgb(133, 108, 240)
HSLhsl(251, 82%, 68%)
CMYKcmyk(45%, 55%, 0%, 6%)
LABlab(54.0 41.4 -63.5)
LCHlch(54.0 75.8 303.1)
OKLCHoklch(0.621 0.190 288.3)
Decimal8744176
Display P3color(display-p3 0.522 0.424 0.941)

Copy-ready code

/* CSS */
color: #856cf0;
background-color: #856cf0;
/* Tailwind (arbitrary) */
class="text-[#856cf0] bg-[#856cf0]"
/* SCSS */
$brand: #856cf0;
/* SwiftUI */
Color(red: 0.522, green: 0.424, blue: 0.941)
/* Android */
Color.parseColor("#856cf0")
/* Flutter */
Color(0xFF856CF0)
/* Python / OpenCV (BGR) */
(240, 108, 133)

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

Accessibility — WCAG contrast

Aa
#856cf0 on white: 3.89:1
AA ✗ fail · AA-large · AAA
Aa
#856cf0 on black: 5.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #2184F4
deuteranopia · #237EED
tritanopia · #6489A4

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #856cf0 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
#EAE6F9
#CFC6F6
#AB99F5
#856cf0
#5633EA
#3D17DE
#3213B9
#280F94
#210F6B
#140A43
Base = 400Lightest = 50 · #F4F2FCDarkest = 950 · #140A43
:root {
  --brand-50: #F4F2FC;
  --brand-100: #EAE6F9;
  --brand-200: #CFC6F6;
  --brand-300: #AB99F5;
  --brand-400: #856cf0;
  --brand-500: #5633EA;
  --brand-600: #3D17DE;
  --brand-700: #3213B9;
  --brand-800: #280F94;
  --brand-900: #210F6B;
  --brand-950: #140A43;
  --brand: #856cf0;
  --brand-ink: #000000;
}

Colors that work with #856cf0

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

Text on it#000000
Black wins here
Surface#F5F4FA
Tinted page background
Border#C8C0ED
Hairlines and dividers
Muted text#5A4B9B
Captions on the surface
Accent#BDB30F
Second voice, not a rival
Dark variant#200C74
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 #856cf0

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

Works well for
  • Headings from 24px up 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
  • Small text on white — under 4.5:1
  • 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#D7F06C
Analogous left#6C95F0
Analogous right#C76CF0
Split-complement 1#F0C76C
Split-complement 2#95F06C
Triadic 1#F0856C
Triadic 2#6CF085
Tetradic#F06C95

RGB percentages

Red52.2%
Green42.4%
Blue94.1%

CMYK percentages

Cyan44.6%
Magenta55.0%
Yellow0.0%
Key (black)5.9%

Color previews

#856cf0 text on a black background

contrast 5.40:1

Card sample

#856cf0 text on a white background

contrast 3.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #856cf0;
Background color
Panel with #856cf0 background
background-color: #856cf0;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #856cf0;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(133, 108, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(133, 108, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #856cf0;
background: linear-gradient(135deg, #856cf0, #DD6CF0);

Monochromatic scale

Palettes built from #856cf0

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.

#856cf0 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.

#856cf0, answered

What color is #856cf0?

#856cf0 is a light electric blue, closest to Medium Slate Blue (ΔE2000 2.1). It sits at 251° on the hue wheel with 82% saturation and 68% lightness, which reads as cool.

What is the RGB value of #856cf0?

rgb(133, 108, 240) — 133 red, 108 green and 240 blue out of 255, or 52.2% / 42.4% / 94.1% by channel.

Is #856cf0 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2200 and perceived brightness is 54%, so black text on it reaches 5.40:1.

Should I use black or white text on #856cf0?

Black. It scores 5.40:1 against #856cf0, versus 3.89:1 for white — AA at any size.

What is the complementary color of #856cf0?

#D7F06C sits directly opposite on the wheel. Softer options are the split-complements #F0C76C and #95F06C, which give the same contrast with far less vibration.

What colors go well with #856cf0?

For interface work: #F5F4FA as the surface, #C8C0ED for borders, #5A4B9B for secondary text, #BDB30F as an accent and #200C74 for hover and pressed states. For a palette, the analogous pair #6C95F0 and #C76CF0 stays calm, while #D7F06C is the loudest partner.

What is #856cf0 in CMYK for printing?

cmyk(45%, 55%, 0%, 6%). 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 #856cf0 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 #B56CF0; nudged cooler, #6A82F2.

Work with #856cf0 in the Color Lab