Skip to content

#856fe2

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

RGB
133, 111, 226
HSL
252°, 67%, 66%
CMYK
41, 51, 0, 11
Luminance
0.2185

At a glance

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

Hex
#856fe2
Hue
252°
blue
Saturation
67%
vivid
Lightness
66%
light
Brightness
89%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2185
WCAG relative
Temperature
Cool
77/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
5.37:1
Closest name
Medium Slate Blue
ΔE2000 3.2
Where it sits
Hue252° of 360°
Saturation67%
Lightness66%
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#856fe2
RGBrgb(133, 111, 226)
HSLhsl(252, 67%, 66%)
CMYKcmyk(41%, 51%, 0%, 11%)
LABlab(53.9 35.8 -55.9)
LCHlch(53.9 66.4 302.6)
OKLCHoklch(0.617 0.168 289.3)
Decimal8744930
Display P3color(display-p3 0.522 0.435 0.886)

Copy-ready code

/* CSS */
color: #856fe2;
background-color: #856fe2;
/* Tailwind (arbitrary) */
class="text-[#856fe2] bg-[#856fe2]"
/* SCSS */
$brand: #856fe2;
/* SwiftUI */
Color(red: 0.522, green: 0.435, blue: 0.886)
/* Android */
Color.parseColor("#856fe2")
/* Flutter */
Color(0xFF856FE2)
/* Python / OpenCV (BGR) */
(226, 111, 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 #856fe2 · 5.37:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.91:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.37:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #856fe2 as text scores 3.91:1 on white and 5.37:1 on black.

Accessibility — WCAG contrast

Aa
#856fe2 on white: 3.91:1
AA ✗ fail · AA-large · AAA
Aa
#856fe2 on black: 5.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3D83E6
deuteranopia · #3F7EDF
tritanopia · #6B879E

Color scale — 50 to 950

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

#F5F3FB
#EBE8F8
#D2CAF1
#B0A2EC
#856fe2
#6144D9
#4829CC
#3C22AA
#301B88
#261863
#180F3E
Base = 400Lightest = 50 · #F5F3FBDarkest = 950 · #180F3E
:root {
  --brand-50: #F5F3FB;
  --brand-100: #EBE8F8;
  --brand-200: #D2CAF1;
  --brand-300: #B0A2EC;
  --brand-400: #856fe2;
  --brand-500: #6144D9;
  --brand-600: #4829CC;
  --brand-700: #3C22AA;
  --brand-800: #301B88;
  --brand-900: #261863;
  --brand-950: #180F3E;
  --brand: #856fe2;
  --brand-ink: #000000;
}

Colors that work with #856fe2

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#ADA51F
Second voice, not a rival
Dark variant#26156A
Hover, pressed, headers
Light variant#EDEAFB
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 #856fe2

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#CCE26F
Analogous left#6F93E2
Analogous right#BF6FE2
Split-complement 1#E2BF6F
Split-complement 2#93E26F
Triadic 1#E2856F
Triadic 2#6FE285
Tetradic#E26F93

RGB percentages

Red52.2%
Green43.5%
Blue88.6%

CMYK percentages

Cyan41.2%
Magenta50.9%
Yellow0.0%
Key (black)11.4%

Color previews

#856fe2 text on a black background

contrast 5.37:1

Card sample

#856fe2 text on a white background

contrast 3.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #856fe2

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.

#856fe2 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

Converts to four-color process without much drama. Proof it anyway.

#856fe2, answered

What color is #856fe2?

#856fe2 is a light vivid blue, closest to Medium Slate Blue (ΔE2000 3.2). It sits at 252° on the hue wheel with 67% saturation and 66% lightness, which reads as cool.

What is the RGB value of #856fe2?

rgb(133, 111, 226) — 133 red, 111 green and 226 blue out of 255, or 52.2% / 43.5% / 88.6% by channel.

Is #856fe2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2185 and perceived brightness is 53%, so black text on it reaches 5.37:1.

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

Black. It scores 5.37:1 against #856fe2, versus 3.91:1 for white — AA at any size.

What is the complementary color of #856fe2?

#CCE26F sits directly opposite on the wheel. Softer options are the split-complements #E2BF6F and #93E26F, which give the same contrast with far less vibration.

What colors go well with #856fe2?

For interface work: #F5F4FA as the surface, #C8C0ED for borders, #5A4B9B for secondary text, #ADA51F as an accent and #26156A for hover and pressed states. For a palette, the analogous pair #6F93E2 and #BF6FE2 stays calm, while #CCE26F is the loudest partner.

What is #856fe2 in CMYK for printing?

cmyk(41%, 51%, 0%, 11%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #856fe2 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 #AF6FE2; nudged cooler, #6D82E4.

Work with #856fe2 in the Color Lab