Skip to content

#855cec

a balanced, electric violet · cool · closest name: Medium Slate Blue

RGB
133, 92, 236
HSL
257°, 79%, 64%
CMYK
44, 61, 0, 8
Luminance
0.1870

At a glance

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

Hex
#855cec
Hue
257°
violet
Saturation
79%
electric
Lightness
64%
balanced
Brightness
93%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1870
WCAG relative
Temperature
Cool
74/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
4.74:1
Closest name
Medium Slate Blue
ΔE2000 3.9
Where it sits
Hue257° of 360°
Saturation79%
Lightness64%
Temperature
Warm ← → Cool74% 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#855cec
RGBrgb(133, 92, 236)
HSLhsl(257, 79%, 64%)
CMYKcmyk(44%, 61%, 0%, 8%)
LABlab(50.3 49.3 -67.2)
LCHlch(50.3 83.3 306.3)
OKLCHoklch(0.593 0.207 292.0)
Decimal8740076
Display P3color(display-p3 0.522 0.361 0.925)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#855cec on white: 4.43:1
AA ✗ fail · AA-large · AAA
Aa
#855cec on black: 4.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #007AF1
deuteranopia · #0075E9
tritanopia · #677D9B

Color scale — 50 to 950

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

#F5F3FC
#ECE6F9
#D4C7F5
#B49BF3
#855cec
#6936E8
#511ADB
#4315B7
#361192
#2A116A
#1A0A42
Base = 400Lightest = 50 · #F5F3FCDarkest = 950 · #1A0A42
:root {
  --brand-50: #F5F3FC;
  --brand-100: #ECE6F9;
  --brand-200: #D4C7F5;
  --brand-300: #B49BF3;
  --brand-400: #855cec;
  --brand-500: #6936E8;
  --brand-600: #511ADB;
  --brand-700: #4315B7;
  --brand-800: #361192;
  --brand-900: #2A116A;
  --brand-950: #1A0A42;
  --brand: #855cec;
  --brand-ink: #000000;
}

Colors that work with #855cec

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#CDC0ED
Hairlines and dividers
Muted text#614B9B
Captions on the surface
Accent#B4BB11
Second voice, not a rival
Dark variant#2A0D72
Hover, pressed, headers
Light variant#EEE8FC
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 #855cec

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#C3EC5C
Analogous left#5C7BEC
Analogous right#CD5CEC
Split-complement 1#ECCD5C
Split-complement 2#7BEC5C
Triadic 1#EC855C
Triadic 2#5CEC85
Tetradic#EC5C7B

RGB percentages

Red52.2%
Green36.1%
Blue92.5%

CMYK percentages

Cyan43.6%
Magenta61.0%
Yellow0.0%
Key (black)7.5%

Color previews

#855cec text on a black background

contrast 4.74:1

Card sample

#855cec text on a white background

contrast 4.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #855cec;
Background color
Panel with #855cec background
background-color: #855cec;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #855cec;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(133, 92, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(133, 92, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #855cec;
background: linear-gradient(135deg, #855cec, #E55CEC);

Monochromatic scale

Palettes built from #855cec

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.

#855cec in the real world

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

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#855cec, answered

What color is #855cec?

#855cec is a balanced electric violet, closest to Medium Slate Blue (ΔE2000 3.9). It sits at 257° on the hue wheel with 79% saturation and 64% lightness, which reads as cool.

What is the RGB value of #855cec?

rgb(133, 92, 236) — 133 red, 92 green and 236 blue out of 255, or 52.2% / 36.1% / 92.5% by channel.

Is #855cec a light or a dark color?

It is a mid-tone. Relative luminance is 0.1870 and perceived brightness is 51%, so black text on it reaches 4.74:1.

Should I use black or white text on #855cec?

Black. It scores 4.74:1 against #855cec, versus 4.43:1 for white — AA at any size.

What is the complementary color of #855cec?

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

What colors go well with #855cec?

For interface work: #F6F4FA as the surface, #CDC0ED for borders, #614B9B for secondary text, #B4BB11 as an accent and #2A0D72 for hover and pressed states. For a palette, the analogous pair #5C7BEC and #CD5CEC stays calm, while #C3EC5C is the loudest partner.

What is #855cec in CMYK for printing?

cmyk(44%, 61%, 0%, 8%). 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 #855cec warm or cool?

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

Work with #855cec in the Color Lab