Skip to content

#813eee

a balanced, electric violet · cool · closest name: Blue Violet

RGB
129, 62, 238
HSL
263°, 84%, 59%
CMYK
46, 74, 0, 7
Luminance
0.1429

At a glance

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

Hex
#813eee
Hue
263°
violet
Saturation
84%
electric
Lightness
59%
balanced
Brightness
93%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1429
WCAG relative
Temperature
Cool
71/100 cool
Color family
Violet
Tone
Electric
Best ink
White
5.44:1
Closest name
Blue Violet
ΔE2000 3.7
Where it sits
Hue263° of 360°
Saturation84%
Lightness59%
Temperature
Warm ← → Cool71% 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#813eee
RGBrgb(129, 62, 238)
HSLhsl(263, 84%, 59%)
CMYKcmyk(46%, 74%, 0%, 7%)
LABlab(44.6 64.0 -77.6)
LCHlch(44.6 100.6 309.5)
OKLCHoklch(0.552 0.244 294.2)
Decimal8470254
Display P3color(display-p3 0.506 0.243 0.933)

Copy-ready code

/* CSS */
color: #813eee;
background-color: #813eee;
/* Tailwind (arbitrary) */
class="text-[#813eee] bg-[#813eee]"
/* SCSS */
$brand: #813eee;
/* SwiftUI */
Color(red: 0.506, green: 0.243, blue: 0.933)
/* Android */
Color.parseColor("#813eee")
/* Flutter */
Color(0xFF813EEE)
/* Python / OpenCV (BGR) */
(238, 62, 129)

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

Accessibility — WCAG contrast

Aa
#813eee on white: 5.44:1
AA ✓ pass · AA-large · AAA
Aa
#813eee on black: 3.86:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #006BF3
deuteranopia · #0067EB
tritanopia · #616D94

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #813eee is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F6F2FC
#EDE6FA
#D8C5F6
#BC98F6
#9A64F1
#813eee
#6214E1
#5111BB
#410D96
#320E6C
#1F0944
Base = 500Lightest = 50 · #F6F2FCDarkest = 950 · #1F0944
:root {
  --brand-50: #F6F2FC;
  --brand-100: #EDE6FA;
  --brand-200: #D8C5F6;
  --brand-300: #BC98F6;
  --brand-400: #9A64F1;
  --brand-500: #813eee;
  --brand-600: #6214E1;
  --brand-700: #5111BB;
  --brand-800: #410D96;
  --brand-900: #320E6C;
  --brand-950: #1F0944;
  --brand: #813eee;
  --brand-ink: #ffffff;
}

Colors that work with #813eee

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F7F4FA
Tinted page background
Border#D1C0ED
Hairlines and dividers
Muted text#694B9B
Captions on the surface
Accent#A8BF0D
Second voice, not a rival
Dark variant#330A75
Hover, pressed, headers
Light variant#F0E8FD
Selected rows, tints
Dark surface#1A1424
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 #813eee

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • 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#ABEE3E
Analogous left#3E53EE
Analogous right#D93EEE
Split-complement 1#EED93E
Split-complement 2#53EE3E
Triadic 1#EE813E
Triadic 2#3EEE81
Tetradic#EE3E53

RGB percentages

Red50.6%
Green24.3%
Blue93.3%

CMYK percentages

Cyan45.8%
Magenta73.9%
Yellow0.0%
Key (black)6.7%

Color previews

#813eee text on a black background

contrast 3.86:1

Card sample

#813eee text on a white background

contrast 5.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #813eee

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.

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

#813eee, answered

What color is #813eee?

#813eee is a balanced electric violet, closest to Blue Violet (ΔE2000 3.7). It sits at 263° on the hue wheel with 84% saturation and 59% lightness, which reads as cool.

What is the RGB value of #813eee?

rgb(129, 62, 238) — 129 red, 62 green and 238 blue out of 255, or 50.6% / 24.3% / 93.3% by channel.

Is #813eee a light or a dark color?

It is a dark color. Relative luminance is 0.1429 and perceived brightness is 46%, so white text on it reaches 5.44:1.

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

White. It scores 5.44:1 against #813eee, versus 3.86:1 for black — AA at any size.

What is the complementary color of #813eee?

#ABEE3E sits directly opposite on the wheel. Softer options are the split-complements #EED93E and #53EE3E, which give the same contrast with far less vibration.

What colors go well with #813eee?

For interface work: #F7F4FA as the surface, #D1C0ED for borders, #694B9B for secondary text, #A8BF0D as an accent and #330A75 for hover and pressed states. For a palette, the analogous pair #3E53EE and #D93EEE stays calm, while #ABEE3E is the loudest partner.

What is #813eee in CMYK for printing?

cmyk(46%, 74%, 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 #813eee warm or cool?

Cool — it scores 71 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C13EEE; nudged cooler, #3E3CF0.

Work with #813eee in the Color Lab