Skip to content

#837eee

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

RGB
131, 126, 238
HSL
243°, 77%, 71%
CMYK
45, 47, 0, 7
Luminance
0.2592

At a glance

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

Hex
#837eee
Hue
243°
blue
Saturation
77%
electric
Lightness
71%
light
Brightness
93%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2592
WCAG relative
Temperature
Cool
82/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
6.18:1
Closest name
Medium Slate Blue
ΔE2000 6.6
Where it sits
Hue243° of 360°
Saturation77%
Lightness71%
Temperature
Warm ← → Cool82% 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#837eee
RGBrgb(131, 126, 238)
HSLhsl(243, 77%, 71%)
CMYKcmyk(45%, 47%, 0%, 7%)
LABlab(58.0 29.9 -56.0)
LCHlch(58.0 63.5 298.1)
OKLCHoklch(0.649 0.163 282.9)
Decimal8617710
Display P3color(display-p3 0.514 0.494 0.933)

Copy-ready code

/* CSS */
color: #837eee;
background-color: #837eee;
/* Tailwind (arbitrary) */
class="text-[#837eee] bg-[#837eee]"
/* SCSS */
$brand: #837eee;
/* SwiftUI */
Color(red: 0.514, green: 0.494, blue: 0.933)
/* Android */
Color.parseColor("#837eee")
/* Flutter */
Color(0xFF837EEE)
/* Python / OpenCV (BGR) */
(238, 126, 131)

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 #837eee · 6.18:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.40:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.18:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #837eee as text scores 3.40:1 on white and 6.18:1 on black.

Accessibility — WCAG contrast

Aa
#837eee on white: 3.40:1
AA ✗ fail · AA-large · AAA
Aa
#837eee on black: 6.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4F8FF2
deuteranopia · #4A88EB
tritanopia · #6095AB

Color scale — 50 to 950

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

#F3F3FC
#E7E7F9
#C9C7F4
#A09CF2
#837eee
#4039E5
#251DD8
#1F18B4
#191390
#161268
#0E0B41
Base = 400Lightest = 50 · #F3F3FCDarkest = 950 · #0E0B41
:root {
  --brand-50: #F3F3FC;
  --brand-100: #E7E7F9;
  --brand-200: #C9C7F4;
  --brand-300: #A09CF2;
  --brand-400: #837eee;
  --brand-500: #4039E5;
  --brand-600: #251DD8;
  --brand-700: #1F18B4;
  --brand-800: #191390;
  --brand-900: #161268;
  --brand-950: #0E0B41;
  --brand: #837eee;
  --brand-ink: #000000;
}

Colors that work with #837eee

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#C2C0ED
Hairlines and dividers
Muted text#4E4B9B
Captions on the surface
Accent#B89714
Second voice, not a rival
Dark variant#130F71
Hover, pressed, headers
Light variant#E9E8FC
Selected rows, tints
Dark surface#141424
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 #837eee

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#E9EE7E
Analogous left#7EB1EE
Analogous right#BB7EEE
Split-complement 1#EEBB7E
Split-complement 2#B1EE7E
Triadic 1#EE837E
Triadic 2#7EEE83
Tetradic#EE7EB1

RGB percentages

Red51.4%
Green49.4%
Blue93.3%

CMYK percentages

Cyan45.0%
Magenta47.1%
Yellow0.0%
Key (black)6.7%

Color previews

#837eee text on a black background

contrast 6.18:1

Card sample

#837eee text on a white background

contrast 3.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #837eee;
Background color
Panel with #837eee background
background-color: #837eee;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #837eee;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(131, 126, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(131, 126, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #837eee;
background: linear-gradient(135deg, #837eee, #CE7EEE);

Monochromatic scale

Palettes built from #837eee

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.

#837eee 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.

#837eee, answered

What color is #837eee?

#837eee is a light electric blue, closest to Medium Slate Blue (ΔE2000 6.6). It sits at 243° on the hue wheel with 77% saturation and 71% lightness, which reads as cool.

What is the RGB value of #837eee?

rgb(131, 126, 238) — 131 red, 126 green and 238 blue out of 255, or 51.4% / 49.4% / 93.3% by channel.

Is #837eee a light or a dark color?

It is a mid-tone. Relative luminance is 0.2592 and perceived brightness is 57%, so black text on it reaches 6.18:1.

Should I use black or white text on #837eee?

Black. It scores 6.18:1 against #837eee, versus 3.40:1 for white — AA at any size.

What is the complementary color of #837eee?

#E9EE7E sits directly opposite on the wheel. Softer options are the split-complements #EEBB7E and #B1EE7E, which give the same contrast with far less vibration.

What colors go well with #837eee?

For interface work: #F5F4FA as the surface, #C2C0ED for borders, #4E4B9B for secondary text, #B89714 as an accent and #130F71 for hover and pressed states. For a palette, the analogous pair #7EB1EE and #BB7EEE stays calm, while #E9EE7E is the loudest partner.

What is #837eee in CMYK for printing?

cmyk(45%, 47%, 0%, 7%). 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 #837eee warm or cool?

Cool — it scores 82 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AC7EEE; nudged cooler, #7D9EEF.

Work with #837eee in the Color Lab