Skip to content

#8115d1

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

RGB
129, 21, 209
HSL
275°, 82%, 45%
CMYK
38, 90, 0, 18
Luminance
0.0981

At a glance

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

Hex
#8115d1
Hue
275°
violet
Saturation
82%
electric
Lightness
45%
balanced
Brightness
82%
HSV value
Perceived
40%
weighted brightness
Luminance
0.0981
WCAG relative
Temperature
Cool
64/100 cool
Color family
Violet
Tone
Electric
Best ink
White
7.09:1
Closest name
Dark Violet
ΔE2000 3
Where it sits
Hue275° of 360°
Saturation82%
Lightness45%
Temperature
Warm ← → Cool64% 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#8115d1
RGBrgb(129, 21, 209)
HSLhsl(275, 82%, 45%)
CMYKcmyk(38%, 90%, 0%, 18%)
LABlab(37.5 70.9 -72.7)
LCHlch(37.5 101.5 314.2)
OKLCHoklch(0.494 0.248 303.0)
Decimal8459729
Display P3color(display-p3 0.506 0.082 0.820)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8115d1 on white: 7.09:1
AA ✓ pass · AA-large · AAA
Aa
#8115d1 on black: 2.96:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0057D6
deuteranopia · #0058CE
tritanopia · #70527C

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #8115d1 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
#F1E6F9
#E1C6F6
#CE99F5
#B566F0
#9D33EA
#8115d1
#7313B9
#5C0F94
#440F6B
#2B0943
Base = 600Lightest = 50 · #F8F2FCDarkest = 950 · #2B0943
:root {
  --brand-50: #F8F2FC;
  --brand-100: #F1E6F9;
  --brand-200: #E1C6F6;
  --brand-300: #CE99F5;
  --brand-400: #B566F0;
  --brand-500: #9D33EA;
  --brand-600: #8115d1;
  --brand-700: #7313B9;
  --brand-800: #5C0F94;
  --brand-900: #440F6B;
  --brand-950: #2B0943;
  --brand: #8115d1;
  --brand-ink: #ffffff;
}

Colors that work with #8115d1

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#DAC0ED
Hairlines and dividers
Muted text#794B9B
Captions on the surface
Accent#85BE0E
Second voice, not a rival
Dark variant#480C74
Hover, pressed, headers
Light variant#F4E8FD
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 #8115d1

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
  • Text on black or near-black surfaces
  • 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#65D115
Analogous left#2315D1
Analogous right#D115C3
Split-complement 1#C3D115
Split-complement 2#15D123
Triadic 1#D18115
Triadic 2#15D181
Tetradic#D12315

RGB percentages

Red50.6%
Green8.2%
Blue82.0%

CMYK percentages

Cyan38.3%
Magenta90.0%
Yellow0.0%
Key (black)18.0%

Color previews

#8115d1 text on a black background

contrast 2.96:1

Card sample

#8115d1 text on a white background

contrast 7.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8115d1

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.

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

#8115d1, answered

What color is #8115d1?

#8115d1 is a balanced electric violet, closest to Dark Violet (ΔE2000 3). It sits at 275° on the hue wheel with 82% saturation and 45% lightness, which reads as cool.

What is the RGB value of #8115d1?

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

Is #8115d1 a light or a dark color?

It is a dark color. Relative luminance is 0.0981 and perceived brightness is 40%, so white text on it reaches 7.09:1.

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

White. It scores 7.09:1 against #8115d1, versus 2.96:1 for black — AAA at any size.

What is the complementary color of #8115d1?

#65D115 sits directly opposite on the wheel. Softer options are the split-complements #C3D115 and #15D123, which give the same contrast with far less vibration.

What colors go well with #8115d1?

For interface work: #F8F4FA as the surface, #DAC0ED for borders, #794B9B for secondary text, #85BE0E as an accent and #480C74 for hover and pressed states. For a palette, the analogous pair #2315D1 and #D115C3 stays calm, while #65D115 is the loudest partner.

What is #8115d1 in CMYK for printing?

cmyk(38%, 90%, 0%, 18%). 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 #8115d1 warm or cool?

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

Work with #8115d1 in the Color Lab