Skip to content

#8d1dfd

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

RGB
141, 29, 253
HSL
270°, 98%, 55%
CMYK
44, 89, 0, 1
Luminance
0.1363

At a glance

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

Hex
#8d1dfd
Hue
270°
violet
Saturation
98%
electric
Lightness
55%
balanced
Brightness
99%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1363
WCAG relative
Temperature
Cool
67/100 cool
Color family
Violet
Tone
Electric
Best ink
White
5.64:1
Closest name
Blue Violet
ΔE2000 3.1
Where it sits
Hue270° of 360°
Saturation98%
Lightness55%
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#8d1dfd
RGBrgb(141, 29, 253)
HSLhsl(270, 98%, 55%)
CMYKcmyk(44%, 89%, 0%, 1%)
LABlab(43.7 79.8 -87.5)
LCHlch(43.7 118.5 312.4)
OKLCHoklch(0.552 0.284 297.8)
Decimal9248253
Display P3color(display-p3 0.553 0.114 0.992)

Copy-ready code

/* CSS */
color: #8d1dfd;
background-color: #8d1dfd;
/* Tailwind (arbitrary) */
class="text-[#8d1dfd] bg-[#8d1dfd]"
/* SCSS */
$brand: #8d1dfd;
/* SwiftUI */
Color(red: 0.553, green: 0.114, blue: 0.992)
/* Android */
Color.parseColor("#8d1dfd")
/* Flutter */
Color(0xFF8D1DFD)
/* Python / OpenCV (BGR) */
(253, 29, 141)

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

Accessibility — WCAG contrast

Aa
#8d1dfd on white: 5.64:1
AA ✓ pass · AA-large · AAA
Aa
#8d1dfd on black: 3.73:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0068FF
deuteranopia · #0065F9
tritanopia · #6F6797

Color scale — 50 to 950

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

#F7F1FD
#F0E3FC
#DEC1FB
#C790FE
#AB58FD
#8d1dfd
#7A02F3
#6602CA
#5201A2
#3D0674
#260449
Base = 500Lightest = 50 · #F7F1FDDarkest = 950 · #260449
:root {
  --brand-50: #F7F1FD;
  --brand-100: #F0E3FC;
  --brand-200: #DEC1FB;
  --brand-300: #C790FE;
  --brand-400: #AB58FD;
  --brand-500: #8d1dfd;
  --brand-600: #7A02F3;
  --brand-700: #6602CA;
  --brand-800: #5201A2;
  --brand-900: #3D0674;
  --brand-950: #260449;
  --brand: #8d1dfd;
  --brand-ink: #ffffff;
}

Colors that work with #8d1dfd

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#99CC00
Second voice, not a rival
Dark variant#40017E
Hover, pressed, headers
Light variant#F2E6FF
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 #8d1dfd

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#8DFD1D
Analogous left#1D1DFD
Analogous right#FD1DFD
Split-complement 1#FDFD1D
Split-complement 2#1DFD1D
Triadic 1#FD8D1D
Triadic 2#1DFD8D
Tetradic#FD1D1D

RGB percentages

Red55.3%
Green11.4%
Blue99.2%

CMYK percentages

Cyan44.3%
Magenta88.5%
Yellow0.0%
Key (black)0.8%

Color previews

#8d1dfd text on a black background

contrast 3.73:1

Card sample

#8d1dfd text on a white background

contrast 5.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8d1dfd;
Background color
Panel with #8d1dfd background
background-color: #8d1dfd;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(141, 29, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(141, 29, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8d1dfd;
background: linear-gradient(135deg, #8d1dfd, #FD1DD8);

Monochromatic scale

Palettes built from #8d1dfd

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.

#8d1dfd 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.

#8d1dfd, answered

What color is #8d1dfd?

#8d1dfd is a balanced electric violet, closest to Blue Violet (ΔE2000 3.1). It sits at 270° on the hue wheel with 98% saturation and 55% lightness, which reads as cool.

What is the RGB value of #8d1dfd?

rgb(141, 29, 253) — 141 red, 29 green and 253 blue out of 255, or 55.3% / 11.4% / 99.2% by channel.

Is #8d1dfd a light or a dark color?

It is a dark color. Relative luminance is 0.1363 and perceived brightness is 46%, so white text on it reaches 5.64:1.

Should I use black or white text on #8d1dfd?

White. It scores 5.64:1 against #8d1dfd, versus 3.73:1 for black — AA at any size.

What is the complementary color of #8d1dfd?

#8DFD1D sits directly opposite on the wheel. Softer options are the split-complements #FDFD1D and #1DFD1D, which give the same contrast with far less vibration.

What colors go well with #8d1dfd?

For interface work: #F7F4FA as the surface, #D6C0ED for borders, #734B9B for secondary text, #99CC00 as an accent and #40017E for hover and pressed states. For a palette, the analogous pair #1D1DFD and #FD1DFD stays calm, while #8DFD1D is the loudest partner.

What is #8d1dfd in CMYK for printing?

cmyk(44%, 89%, 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 #8d1dfd 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 #DF1DFD; nudged cooler, #391BFF.

Work with #8d1dfd in the Color Lab