Skip to content

#855afe

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

RGB
133, 90, 254
HSL
256°, 99%, 68%
CMYK
48, 65, 0, 0
Luminance
0.1945

At a glance

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

Hex
#855afe
Hue
256°
violet
Saturation
99%
electric
Lightness
68%
light
Brightness
100%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1945
WCAG relative
Temperature
Cool
75/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
4.89:1
Closest name
Medium Slate Blue
ΔE2000 4.3
Where it sits
Hue256° of 360°
Saturation99%
Lightness68%
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#855afe
RGBrgb(133, 90, 254)
HSLhsl(256, 99%, 68%)
CMYKcmyk(48%, 65%, 0%, 0%)
LABlab(51.2 55.3 -75.8)
LCHlch(51.2 93.8 306.1)
OKLCHoklch(0.603 0.231 289.7)
Decimal8739582
Display P3color(display-p3 0.522 0.353 0.996)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#855afe on white: 4.29:1
AA ✗ fail · AA-large · AAA
Aa
#855afe on black: 4.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #007DFF
deuteranopia · #0076FB
tritanopia · #5D82A4

Color scale — 50 to 950

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

#F4F1FE
#EAE3FC
#D0C0FB
#AC8FFE
#855afe
#5A20FE
#4101F3
#3601CB
#2B01A2
#230675
#160349
Base = 400Lightest = 50 · #F4F1FEDarkest = 950 · #160349
:root {
  --brand-50: #F4F1FE;
  --brand-100: #EAE3FC;
  --brand-200: #D0C0FB;
  --brand-300: #AC8FFE;
  --brand-400: #855afe;
  --brand-500: #5A20FE;
  --brand-600: #4101F3;
  --brand-700: #3601CB;
  --brand-800: #2B01A2;
  --brand-900: #230675;
  --brand-950: #160349;
  --brand: #855afe;
  --brand-ink: #000000;
}

Colors that work with #855afe

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#CCC0ED
Hairlines and dividers
Muted text#604B9B
Captions on the surface
Accent#CACC00
Second voice, not a rival
Dark variant#22017F
Hover, pressed, headers
Light variant#ECE6FF
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 #855afe

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#D3FE5A
Analogous left#5A81FE
Analogous right#D75AFE
Split-complement 1#FED75A
Split-complement 2#81FE5A
Triadic 1#FE855A
Triadic 2#5AFE85
Tetradic#FE5A81

RGB percentages

Red52.2%
Green35.3%
Blue99.6%

CMYK percentages

Cyan47.6%
Magenta64.6%
Yellow0.0%
Key (black)0.4%

Color previews

#855afe text on a black background

contrast 4.89:1

Card sample

#855afe text on a white background

contrast 4.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #855afe

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.

#855afe 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
SurfacesBadgesHighlightsEmpty states
Print note

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

#855afe, answered

What color is #855afe?

#855afe is a light electric violet, closest to Medium Slate Blue (ΔE2000 4.3). It sits at 256° on the hue wheel with 99% saturation and 68% lightness, which reads as cool.

What is the RGB value of #855afe?

rgb(133, 90, 254) — 133 red, 90 green and 254 blue out of 255, or 52.2% / 35.3% / 99.6% by channel.

Is #855afe a light or a dark color?

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

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

Black. It scores 4.89:1 against #855afe, versus 4.29:1 for white — AA at any size.

What is the complementary color of #855afe?

#D3FE5A sits directly opposite on the wheel. Softer options are the split-complements #FED75A and #81FE5A, which give the same contrast with far less vibration.

What colors go well with #855afe?

For interface work: #F6F4FA as the surface, #CCC0ED for borders, #604B9B for secondary text, #CACC00 as an accent and #22017F for hover and pressed states. For a palette, the analogous pair #5A81FE and #D75AFE stays calm, while #D3FE5A is the loudest partner.

What is #855afe in CMYK for printing?

cmyk(48%, 65%, 0%, 0%). 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 #855afe 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 #C15AFE; nudged cooler, #596BFF.

Work with #855afe in the Color Lab