Skip to content

#8015eb

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

RGB
128, 21, 235
HSL
270°, 84%, 50%
CMYK
46, 91, 0, 8
Luminance
0.1112

At a glance

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

Hex
#8015eb
Hue
270°
violet
Saturation
84%
electric
Lightness
50%
balanced
Brightness
92%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1112
WCAG relative
Temperature
Cool
67/100 cool
Color family
Violet
Tone
Electric
Best ink
White
6.51:1
Closest name
Blue Violet
ΔE2000 3
Where it sits
Hue270° of 360°
Saturation84%
Lightness50%
Temperature
Warm ← → Cool67% 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#8015eb
RGBrgb(128, 21, 235)
HSLhsl(270, 84%, 50%)
CMYKcmyk(46%, 91%, 0%, 8%)
LABlab(39.8 76.3 -83.9)
LCHlch(39.8 113.4 312.3)
OKLCHoklch(0.517 0.270 297.1)
Decimal8394219
Display P3color(display-p3 0.502 0.082 0.922)

Copy-ready code

/* CSS */
color: #8015eb;
background-color: #8015eb;
/* Tailwind (arbitrary) */
class="text-[#8015eb] bg-[#8015eb]"
/* SCSS */
$brand: #8015eb;
/* SwiftUI */
Color(red: 0.502, green: 0.082, blue: 0.922)
/* Android */
Color.parseColor("#8015eb")
/* Flutter */
Color(0xFF8015EB)
/* Python / OpenCV (BGR) */
(235, 21, 128)

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

Accessibility — WCAG contrast

Aa
#8015eb on white: 6.51:1
AA ✓ pass · AA-large · AAA
Aa
#8015eb on black: 3.22:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005EF0
deuteranopia · #005BE7
tritanopia · #625E8B

Color scale — 50 to 950

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

#F7F2FC
#F0E6FA
#DEC5F6
#C798F6
#AB64F2
#8F30ED
#8015eb
#6610BC
#520D96
#3D0E6D
#260944
Base = 600Lightest = 50 · #F7F2FCDarkest = 950 · #260944
:root {
  --brand-50: #F7F2FC;
  --brand-100: #F0E6FA;
  --brand-200: #DEC5F6;
  --brand-300: #C798F6;
  --brand-400: #AB64F2;
  --brand-500: #8F30ED;
  --brand-600: #8015eb;
  --brand-700: #6610BC;
  --brand-800: #520D96;
  --brand-900: #3D0E6D;
  --brand-950: #260944;
  --brand: #8015eb;
  --brand-ink: #ffffff;
}

Colors that work with #8015eb

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#D6C0ED
Hairlines and dividers
Muted text#734B9B
Captions on the surface
Accent#93C00C
Second voice, not a rival
Dark variant#400A75
Hover, pressed, headers
Light variant#F2E8FD
Selected rows, tints
Dark surface#1C1424
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 #8015eb

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#80EB15
Analogous left#1515EB
Analogous right#EB15EB
Split-complement 1#EBEB15
Split-complement 2#15EB15
Triadic 1#EB8015
Triadic 2#15EB80
Tetradic#EB1515

RGB percentages

Red50.2%
Green8.2%
Blue92.2%

CMYK percentages

Cyan45.5%
Magenta91.1%
Yellow0.0%
Key (black)7.8%

Color previews

#8015eb text on a black background

contrast 3.22:1

Card sample

#8015eb text on a white background

contrast 6.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8015eb;
Background color
Panel with #8015eb background
background-color: #8015eb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #8015eb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(128, 21, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 21, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8015eb;
background: linear-gradient(135deg, #8015eb, #EB15C7);

Monochromatic scale

Palettes built from #8015eb

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.

#8015eb 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.

#8015eb, answered

What color is #8015eb?

#8015eb is a balanced electric violet, closest to Blue Violet (ΔE2000 3). It sits at 270° on the hue wheel with 84% saturation and 50% lightness, which reads as cool.

What is the RGB value of #8015eb?

rgb(128, 21, 235) — 128 red, 21 green and 235 blue out of 255, or 50.2% / 8.2% / 92.2% by channel.

Is #8015eb a light or a dark color?

It is a dark color. Relative luminance is 0.1112 and perceived brightness is 42%, so white text on it reaches 6.51:1.

Should I use black or white text on #8015eb?

White. It scores 6.51:1 against #8015eb, versus 3.22:1 for black — AA at any size.

What is the complementary color of #8015eb?

#80EB15 sits directly opposite on the wheel. Softer options are the split-complements #EBEB15 and #15EB15, which give the same contrast with far less vibration.

What colors go well with #8015eb?

For interface work: #F7F4FA as the surface, #D6C0ED for borders, #734B9B for secondary text, #93C00C as an accent and #400A75 for hover and pressed states. For a palette, the analogous pair #1515EB and #EB15EB stays calm, while #80EB15 is the loudest partner.

What is #8015eb in CMYK for printing?

cmyk(46%, 91%, 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 #8015eb warm or cool?

Cool — it scores 67 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CF15EB; nudged cooler, #3012EE.

Work with #8015eb in the Color Lab