Skip to content

#856ecf

a balanced, vivid blue · cool · closest name: Medium Purple

RGB
133, 110, 207
HSL
254°, 50%, 62%
CMYK
36, 47, 0, 19
Luminance
0.2064

At a glance

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

Hex
#856ecf
Hue
254°
blue
Saturation
50%
vivid
Lightness
62%
balanced
Brightness
81%
HSV value
Perceived
52%
weighted brightness
Luminance
0.2064
WCAG relative
Temperature
Cool
75/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
5.13:1
Closest name
Medium Purple
ΔE2000 3.2
Where it sits
Hue254° of 360°
Saturation50%
Lightness62%
Temperature
Warm ← → Cool75% 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#856ecf
RGBrgb(133, 110, 207)
HSLhsl(254, 50%, 62%)
CMYKcmyk(36%, 47%, 0%, 19%)
LABlab(52.6 31.2 -47.2)
LCHlch(52.6 56.6 303.4)
OKLCHoklch(0.604 0.144 292.5)
Decimal8744655
Display P3color(display-p3 0.522 0.431 0.812)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#856ecf on white: 4.09:1
AA ✗ fail · AA-large · AAA
Aa
#856ecf on black: 5.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4C7FD3
deuteranopia · #4F7CCD
tritanopia · #738195

Color scale — 50 to 950

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

#F6F4FA
#EDEAF6
#D6CFED
#B8ABE3
#856ecf
#7156C7
#5A3DB8
#4B3399
#3C297B
#2E215A
#1D1538
Base = 400Lightest = 50 · #F6F4FADarkest = 950 · #1D1538
:root {
  --brand-50: #F6F4FA;
  --brand-100: #EDEAF6;
  --brand-200: #D6CFED;
  --brand-300: #B8ABE3;
  --brand-400: #856ecf;
  --brand-500: #7156C7;
  --brand-600: #5A3DB8;
  --brand-700: #4B3399;
  --brand-800: #3C297B;
  --brand-900: #2E215A;
  --brand-950: #1D1538;
  --brand: #856ecf;
  --brand-ink: #000000;
}

Colors that work with #856ecf

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#F6F4FA
Tinted page background
Border#CBC2EB
Hairlines and dividers
Muted text#5E4B9B
Captions on the surface
Accent#9D9C2F
Second voice, not a rival
Dark variant#2F2060
Hover, pressed, headers
Light variant#EFECF9
Selected rows, tints
Dark surface#181424
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 #856ecf

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
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#B8CF6E
Analogous left#6E88CF
Analogous right#B66ECF
Split-complement 1#CFB66E
Split-complement 2#88CF6E
Triadic 1#CF856E
Triadic 2#6ECF85
Tetradic#CF6E88

RGB percentages

Red52.2%
Green43.1%
Blue81.2%

CMYK percentages

Cyan35.7%
Magenta46.9%
Yellow0.0%
Key (black)18.8%

Color previews

#856ecf text on a black background

contrast 5.13:1

Card sample

#856ecf text on a white background

contrast 4.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #856ecf

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.

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

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

#856ecf, answered

What color is #856ecf?

#856ecf is a balanced vivid blue, closest to Medium Purple (ΔE2000 3.2). It sits at 254° on the hue wheel with 50% saturation and 62% lightness, which reads as cool.

What is the RGB value of #856ecf?

rgb(133, 110, 207) — 133 red, 110 green and 207 blue out of 255, or 52.2% / 43.1% / 81.2% by channel.

Is #856ecf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2064 and perceived brightness is 52%, so black text on it reaches 5.13:1.

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

Black. It scores 5.13:1 against #856ecf, versus 4.09:1 for white — AA at any size.

What is the complementary color of #856ecf?

#B8CF6E sits directly opposite on the wheel. Softer options are the split-complements #CFB66E and #88CF6E, which give the same contrast with far less vibration.

What colors go well with #856ecf?

For interface work: #F6F4FA as the surface, #CBC2EB for borders, #5E4B9B for secondary text, #9D9C2F as an accent and #2F2060 for hover and pressed states. For a palette, the analogous pair #6E88CF and #B66ECF stays calm, while #B8CF6E is the loudest partner.

What is #856ecf in CMYK for printing?

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

Is #856ecf warm or cool?

Cool — it scores 75 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A96ECF; nudged cooler, #6C79D1.

Work with #856ecf in the Color Lab