Skip to content

#8104f8

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

RGB
129, 4, 248
HSL
271°, 97%, 49%
CMYK
48, 98, 0, 3
Luminance
0.1153

At a glance

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

Hex
#8104f8
Hue
271°
violet
Saturation
97%
electric
Lightness
49%
balanced
Brightness
97%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1153
WCAG relative
Temperature
Cool
66/100 cool
Color family
Violet
Tone
Electric
Best ink
White
6.35:1
Closest name
Blue Violet
ΔE2000 3.7
Where it sits
Hue271° of 360°
Saturation97%
Lightness49%
Temperature
Warm ← → Cool66% 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#8104f8
RGBrgb(129, 4, 248)
HSLhsl(271, 97%, 49%)
CMYKcmyk(48%, 98%, 0%, 3%)
LABlab(40.5 81.4 -90.1)
LCHlch(40.5 121.4 312.1)
OKLCHoklch(0.526 0.286 295.4)
Decimal8455416
Display P3color(display-p3 0.506 0.016 0.973)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8104f8 on white: 6.35:1
AA ✓ pass · AA-large · AAA
Aa
#8104f8 on black: 3.31:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0061FD
deuteranopia · #005CF4
tritanopia · #5C6292

Color scale — 50 to 950

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

#F7F1FD
#F0E4FC
#DFC1FB
#C891FD
#AD59FC
#9122FB
#8104f8
#6803C9
#5303A1
#3E0774
#270448
Base = 600Lightest = 50 · #F7F1FDDarkest = 950 · #270448
:root {
  --brand-50: #F7F1FD;
  --brand-100: #F0E4FC;
  --brand-200: #DFC1FB;
  --brand-300: #C891FD;
  --brand-400: #AD59FC;
  --brand-500: #9122FB;
  --brand-600: #8104f8;
  --brand-700: #6803C9;
  --brand-800: #5303A1;
  --brand-900: #3E0774;
  --brand-950: #270448;
  --brand: #8104f8;
  --brand-ink: #ffffff;
}

Colors that work with #8104f8

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#D7C0ED
Hairlines and dividers
Muted text#744B9B
Captions on the surface
Accent#97CC00
Second voice, not a rival
Dark variant#41027D
Hover, pressed, headers
Light variant#F3E6FF
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 #8104f8

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#7BF804
Analogous left#0704F8
Analogous right#F804F5
Split-complement 1#F5F804
Split-complement 2#04F807
Triadic 1#F88104
Triadic 2#04F881
Tetradic#F80704

RGB percentages

Red50.6%
Green1.6%
Blue97.3%

CMYK percentages

Cyan48.0%
Magenta98.4%
Yellow0.0%
Key (black)2.7%

Color previews

#8104f8 text on a black background

contrast 3.31:1

Card sample

#8104f8 text on a white background

contrast 6.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8104f8;
Background color
Panel with #8104f8 background
background-color: #8104f8;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #8104f8;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(129, 4, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(129, 4, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8104f8;
background: linear-gradient(135deg, #8104f8, #F804CC);

Monochromatic scale

Palettes built from #8104f8

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.

#8104f8 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.

#8104f8, answered

What color is #8104f8?

#8104f8 is a balanced electric violet, closest to Blue Violet (ΔE2000 3.7). It sits at 271° on the hue wheel with 97% saturation and 49% lightness, which reads as cool.

What is the RGB value of #8104f8?

rgb(129, 4, 248) — 129 red, 4 green and 248 blue out of 255, or 50.6% / 1.6% / 97.3% by channel.

Is #8104f8 a light or a dark color?

It is a dark color. Relative luminance is 0.1153 and perceived brightness is 43%, so white text on it reaches 6.35:1.

Should I use black or white text on #8104f8?

White. It scores 6.35:1 against #8104f8, versus 3.31:1 for black — AA at any size.

What is the complementary color of #8104f8?

#7BF804 sits directly opposite on the wheel. Softer options are the split-complements #F5F804 and #04F807, which give the same contrast with far less vibration.

What colors go well with #8104f8?

For interface work: #F7F4FA as the surface, #D7C0ED for borders, #744B9B for secondary text, #97CC00 as an accent and #41027D for hover and pressed states. For a palette, the analogous pair #0704F8 and #F804F5 stays calm, while #7BF804 is the loudest partner.

What is #8104f8 in CMYK for printing?

cmyk(48%, 98%, 0%, 3%). 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 #8104f8 warm or cool?

Cool — it scores 66 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DA04F8; nudged cooler, #2602FA.

Work with #8104f8 in the Color Lab