Skip to content

#8043fd

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

RGB
128, 67, 253
HSL
260°, 98%, 63%
CMYK
49, 74, 0, 1
Luminance
0.1570

At a glance

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

Hex
#8043fd
Hue
260°
violet
Saturation
98%
electric
Lightness
63%
balanced
Brightness
99%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1570
WCAG relative
Temperature
Cool
72/100 cool
Color family
Violet
Tone
Electric
Best ink
White
5.07:1
Closest name
Blue Violet
ΔE2000 5.9
Where it sits
Hue260° of 360°
Saturation98%
Lightness63%
Temperature
Warm ← → Cool72% 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#8043fd
RGBrgb(128, 67, 253)
HSLhsl(260, 98%, 63%)
CMYKcmyk(49%, 74%, 0%, 1%)
LABlab(46.6 65.5 -82.8)
LCHlch(46.6 105.6 308.3)
OKLCHoklch(0.569 0.255 291.0)
Decimal8406013
Display P3color(display-p3 0.502 0.263 0.992)

Copy-ready code

/* CSS */
color: #8043fd;
background-color: #8043fd;
/* Tailwind (arbitrary) */
class="text-[#8043fd] bg-[#8043fd]"
/* SCSS */
$brand: #8043fd;
/* SwiftUI */
Color(red: 0.502, green: 0.263, blue: 0.992)
/* Android */
Color.parseColor("#8043fd")
/* Flutter */
Color(0xFF8043FD)
/* Python / OpenCV (BGR) */
(253, 67, 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 #8043fd · 5.07:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.07:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.14:1
AA fail · AA large pass · AAA fail
Reading the other direction: #8043fd as text scores 5.07:1 on white and 4.14:1 on black.

Accessibility — WCAG contrast

Aa
#8043fd on white: 5.07:1
AA ✓ pass · AA-large · AAA
Aa
#8043fd on black: 4.14:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0071FF
deuteranopia · #006AF9
tritanopia · #55769D

Color scale — 50 to 950

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

#F5F1FD
#ECE3FC
#D4C1FB
#B490FE
#8043fd
#6921FD
#5103F2
#4402CA
#3602A1
#2A0674
#1A0449
Base = 400Lightest = 50 · #F5F1FDDarkest = 950 · #1A0449
:root {
  --brand-50: #F5F1FD;
  --brand-100: #ECE3FC;
  --brand-200: #D4C1FB;
  --brand-300: #B490FE;
  --brand-400: #8043fd;
  --brand-500: #6921FD;
  --brand-600: #5103F2;
  --brand-700: #4402CA;
  --brand-800: #3602A1;
  --brand-900: #2A0674;
  --brand-950: #1A0449;
  --brand: #8043fd;
  --brand-ink: #ffffff;
}

Colors that work with #8043fd

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#F6F4FA
Tinted page background
Border#CEC0ED
Hairlines and dividers
Muted text#654B9B
Captions on the surface
Accent#BCCC00
Second voice, not a rival
Dark variant#2A017E
Hover, pressed, headers
Light variant#EEE6FF
Selected rows, tints
Dark surface#191424
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 #8043fd

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#C0FD43
Analogous left#4363FD
Analogous right#DD43FD
Split-complement 1#FDDD43
Split-complement 2#63FD43
Triadic 1#FD8043
Triadic 2#43FD80
Tetradic#FD4363

RGB percentages

Red50.2%
Green26.3%
Blue99.2%

CMYK percentages

Cyan49.4%
Magenta73.5%
Yellow0.0%
Key (black)0.8%

Color previews

#8043fd text on a black background

contrast 4.14:1

Card sample

#8043fd text on a white background

contrast 5.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8043fd;
Background color
Panel with #8043fd background
background-color: #8043fd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #8043fd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(128, 67, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 67, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8043fd;
background: linear-gradient(135deg, #8043fd, #FC43FD);

Monochromatic scale

Palettes built from #8043fd

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.

#8043fd 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.

#8043fd, answered

What color is #8043fd?

#8043fd is a balanced electric violet, closest to Blue Violet (ΔE2000 5.9). It sits at 260° on the hue wheel with 98% saturation and 63% lightness, which reads as cool.

What is the RGB value of #8043fd?

rgb(128, 67, 253) — 128 red, 67 green and 253 blue out of 255, or 50.2% / 26.3% / 99.2% by channel.

Is #8043fd a light or a dark color?

It is a dark color. Relative luminance is 0.1570 and perceived brightness is 48%, so white text on it reaches 5.07:1.

Should I use black or white text on #8043fd?

White. It scores 5.07:1 against #8043fd, versus 4.14:1 for black — AA at any size.

What is the complementary color of #8043fd?

#C0FD43 sits directly opposite on the wheel. Softer options are the split-complements #FDDD43 and #63FD43, which give the same contrast with far less vibration.

What colors go well with #8043fd?

For interface work: #F6F4FA as the surface, #CEC0ED for borders, #654B9B for secondary text, #BCCC00 as an accent and #2A017E for hover and pressed states. For a palette, the analogous pair #4363FD and #DD43FD stays calm, while #C0FD43 is the loudest partner.

What is #8043fd in CMYK for printing?

cmyk(49%, 74%, 0%, 1%). 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 #8043fd warm or cool?

Cool — it scores 72 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C443FD; nudged cooler, #4148FF.

Work with #8043fd in the Color Lab