Skip to content

#8564ea

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

RGB
133, 100, 234
HSL
255°, 76%, 66%
CMYK
43, 57, 0, 8
Luminance
0.2004

At a glance

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

Hex
#8564ea
Hue
255°
blue
Saturation
76%
electric
Lightness
66%
light
Brightness
92%
HSV value
Perceived
52%
weighted brightness
Luminance
0.2004
WCAG relative
Temperature
Cool
75/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
5.01:1
Closest name
Medium Slate Blue
ΔE2000 2.3
Where it sits
Hue255° of 360°
Saturation76%
Lightness66%
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#8564ea
RGBrgb(133, 100, 234)
HSLhsl(255, 76%, 66%)
CMYKcmyk(43%, 57%, 0%, 8%)
LABlab(51.9 44.3 -63.5)
LCHlch(51.9 77.5 304.9)
OKLCHoklch(0.604 0.194 290.8)
Decimal8742122
Display P3color(display-p3 0.522 0.392 0.918)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8564ea on white: 4.19:1
AA ✗ fail · AA-large · AAA
Aa
#8564ea on black: 5.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #047EEE
deuteranopia · #1679E7
tritanopia · #68829D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #8564ea 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
#EBE7F9
#D3C8F4
#B19CF2
#8564ea
#6439E4
#4B1DD8
#3F18B4
#321490
#271268
#190B41
Base = 400Lightest = 50 · #F5F3FCDarkest = 950 · #190B41
:root {
  --brand-50: #F5F3FC;
  --brand-100: #EBE7F9;
  --brand-200: #D3C8F4;
  --brand-300: #B19CF2;
  --brand-400: #8564ea;
  --brand-500: #6439E4;
  --brand-600: #4B1DD8;
  --brand-700: #3F18B4;
  --brand-800: #321490;
  --brand-900: #271268;
  --brand-950: #190B41;
  --brand: #8564ea;
  --brand-ink: #000000;
}

Colors that work with #8564ea

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#CBC0ED
Hairlines and dividers
Muted text#5E4B9B
Captions on the surface
Accent#B7B715
Second voice, not a rival
Dark variant#270F70
Hover, pressed, headers
Light variant#EDE9FC
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 #8564ea

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#C9EA64
Analogous left#6486EA
Analogous right#C864EA
Split-complement 1#EAC864
Split-complement 2#86EA64
Triadic 1#EA8564
Triadic 2#64EA85
Tetradic#EA6486

RGB percentages

Red52.2%
Green39.2%
Blue91.8%

CMYK percentages

Cyan43.2%
Magenta57.3%
Yellow0.0%
Key (black)8.2%

Color previews

#8564ea text on a black background

contrast 5.01:1

Card sample

#8564ea text on a white background

contrast 4.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8564ea;
Background color
Panel with #8564ea background
background-color: #8564ea;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #8564ea;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(133, 100, 234, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(133, 100, 234, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8564ea;
background: linear-gradient(135deg, #8564ea, #DE64EA);

Monochromatic scale

Palettes built from #8564ea

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.

#8564ea 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.

#8564ea, answered

What color is #8564ea?

#8564ea is a light electric blue, closest to Medium Slate Blue (ΔE2000 2.3). It sits at 255° on the hue wheel with 76% saturation and 66% lightness, which reads as cool.

What is the RGB value of #8564ea?

rgb(133, 100, 234) — 133 red, 100 green and 234 blue out of 255, or 52.2% / 39.2% / 91.8% by channel.

Is #8564ea a light or a dark color?

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

Should I use black or white text on #8564ea?

Black. It scores 5.01:1 against #8564ea, versus 4.19:1 for white — AA at any size.

What is the complementary color of #8564ea?

#C9EA64 sits directly opposite on the wheel. Softer options are the split-complements #EAC864 and #86EA64, which give the same contrast with far less vibration.

What colors go well with #8564ea?

For interface work: #F6F4FA as the surface, #CBC0ED for borders, #5E4B9B for secondary text, #B7B715 as an accent and #270F70 for hover and pressed states. For a palette, the analogous pair #6486EA and #C864EA stays calm, while #C9EA64 is the loudest partner.

What is #8564ea in CMYK for printing?

cmyk(43%, 57%, 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 #8564ea 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 #B664EA; nudged cooler, #6273EC.

Work with #8564ea in the Color Lab