Skip to content

#8115df

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

RGB
129, 21, 223
HSL
272°, 83%, 48%
CMYK
42, 91, 0, 13
Luminance
0.1053

At a glance

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

Hex
#8115df
Hue
272°
violet
Saturation
83%
electric
Lightness
48%
balanced
Brightness
87%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1053
WCAG relative
Temperature
Cool
65/100 cool
Color family
Violet
Tone
Electric
Best ink
White
6.76:1
Closest name
Blue Violet
ΔE2000 3.2
Where it sits
Hue272° of 360°
Saturation83%
Lightness48%
Temperature
Warm ← → Cool65% 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#8115df
RGBrgb(129, 21, 223)
HSLhsl(272, 83%, 48%)
CMYKcmyk(42%, 91%, 0%, 13%)
LABlab(38.8 73.8 -78.7)
LCHlch(38.8 107.9 313.2)
OKLCHoklch(0.507 0.260 299.9)
Decimal8459743
Display P3color(display-p3 0.506 0.082 0.875)

Copy-ready code

/* CSS */
color: #8115df;
background-color: #8115df;
/* Tailwind (arbitrary) */
class="text-[#8115df] bg-[#8115df]"
/* SCSS */
$brand: #8115df;
/* SwiftUI */
Color(red: 0.506, green: 0.082, blue: 0.875)
/* Android */
Color.parseColor("#8115df")
/* Flutter */
Color(0xFF8115DF)
/* Python / OpenCV (BGR) */
(223, 21, 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 #8115df · 6.76:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.76:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.11:1
AA fail · AA large pass · AAA fail
Reading the other direction: #8115df as text scores 6.76:1 on white and 3.11:1 on black.

Accessibility — WCAG contrast

Aa
#8115df on white: 6.76:1
AA ✓ pass · AA-large · AAA
Aa
#8115df on black: 3.11:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005BE4
deuteranopia · #005ADC
tritanopia · #6A5884

Color scale — 50 to 950

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

#F8F2FC
#F0E6FA
#E0C6F6
#CA98F5
#B065F1
#9532EC
#8115df
#6C12BA
#560E95
#400F6C
#280943
Base = 600Lightest = 50 · #F8F2FCDarkest = 950 · #280943
:root {
  --brand-50: #F8F2FC;
  --brand-100: #F0E6FA;
  --brand-200: #E0C6F6;
  --brand-300: #CA98F5;
  --brand-400: #B065F1;
  --brand-500: #9532EC;
  --brand-600: #8115df;
  --brand-700: #6C12BA;
  --brand-800: #560E95;
  --brand-900: #400F6C;
  --brand-950: #280943;
  --brand: #8115df;
  --brand-ink: #ffffff;
}

Colors that work with #8115df

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#F8F4FA
Tinted page background
Border#D8C0ED
Hairlines and dividers
Muted text#764B9B
Captions on the surface
Accent#8CBF0D
Second voice, not a rival
Dark variant#430B75
Hover, pressed, headers
Light variant#F3E8FD
Selected rows, tints
Dark surface#1D1424
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 #8115df

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#73DF15
Analogous left#1C15DF
Analogous right#DF15D8
Split-complement 1#D8DF15
Split-complement 2#15DF1C
Triadic 1#DF8115
Triadic 2#15DF81
Tetradic#DF1C15

RGB percentages

Red50.6%
Green8.2%
Blue87.5%

CMYK percentages

Cyan42.2%
Magenta90.6%
Yellow0.0%
Key (black)12.5%

Color previews

#8115df text on a black background

contrast 3.11:1

Card sample

#8115df text on a white background

contrast 6.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8115df;
Background color
Panel with #8115df background
background-color: #8115df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #8115df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(129, 21, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(129, 21, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8115df;
background: linear-gradient(135deg, #8115df, #DF15B6);

Monochromatic scale

Palettes built from #8115df

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.

#8115df 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.

#8115df, answered

What color is #8115df?

#8115df is a balanced electric violet, closest to Blue Violet (ΔE2000 3.2). It sits at 272° on the hue wheel with 83% saturation and 48% lightness, which reads as cool.

What is the RGB value of #8115df?

rgb(129, 21, 223) — 129 red, 21 green and 223 blue out of 255, or 50.6% / 8.2% / 87.5% by channel.

Is #8115df a light or a dark color?

It is a dark color. Relative luminance is 0.1053 and perceived brightness is 41%, so white text on it reaches 6.76:1.

Should I use black or white text on #8115df?

White. It scores 6.76:1 against #8115df, versus 3.11:1 for black — AA at any size.

What is the complementary color of #8115df?

#73DF15 sits directly opposite on the wheel. Softer options are the split-complements #D8DF15 and #15DF1C, which give the same contrast with far less vibration.

What colors go well with #8115df?

For interface work: #F8F4FA as the surface, #D8C0ED for borders, #764B9B for secondary text, #8CBF0D as an accent and #430B75 for hover and pressed states. For a palette, the analogous pair #1C15DF and #DF15D8 stays calm, while #73DF15 is the loudest partner.

What is #8115df in CMYK for printing?

cmyk(42%, 91%, 0%, 13%). 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 #8115df warm or cool?

Cool — it scores 65 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CB15DF; nudged cooler, #3513E1.

Work with #8115df in the Color Lab