Skip to content

#8d3df8

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

RGB
141, 61, 248
HSL
266°, 93%, 61%
CMYK
43, 75, 0, 3
Luminance
0.1578

At a glance

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

Hex
#8d3df8
Hue
266°
violet
Saturation
93%
electric
Lightness
61%
balanced
Brightness
97%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1578
WCAG relative
Temperature
Cool
69/100 cool
Color family
Violet
Tone
Electric
Best ink
White
5.05:1
Closest name
Blue Violet
ΔE2000 4.7
Where it sits
Hue266° of 360°
Saturation93%
Lightness61%
Temperature
Warm ← → Cool69% 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#8d3df8
RGBrgb(141, 61, 248)
HSLhsl(266, 93%, 61%)
CMYKcmyk(43%, 75%, 0%, 3%)
LABlab(46.7 68.7 -79.8)
LCHlch(46.7 105.3 310.7)
OKLCHoklch(0.572 0.256 296.8)
Decimal9256440
Display P3color(display-p3 0.553 0.239 0.973)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8d3df8 on white: 5.05:1
AA ✓ pass · AA-large · AAA
Aa
#8d3df8 on black: 4.16:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #006FFD
deuteranopia · #006CF4
tritanopia · #707099

Color scale — 50 to 950

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

#F7F2FD
#EEE4FB
#DAC2F9
#BF93FB
#A05DF9
#8d3df8
#6A09EC
#5807C5
#47069D
#360972
#220647
Base = 500Lightest = 50 · #F7F2FDDarkest = 950 · #220647
:root {
  --brand-50: #F7F2FD;
  --brand-100: #EEE4FB;
  --brand-200: #DAC2F9;
  --brand-300: #BF93FB;
  --brand-400: #A05DF9;
  --brand-500: #8d3df8;
  --brand-600: #6A09EC;
  --brand-700: #5807C5;
  --brand-800: #47069D;
  --brand-900: #360972;
  --brand-950: #220647;
  --brand: #8d3df8;
  --brand-ink: #ffffff;
}

Colors that work with #8d3df8

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#D3C0ED
Hairlines and dividers
Muted text#6D4B9B
Captions on the surface
Accent#A5C903
Second voice, not a rival
Dark variant#37047B
Hover, pressed, headers
Light variant#F1E6FE
Selected rows, tints
Dark surface#1B1424
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 #8d3df8

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#A8F83D
Analogous left#3D4AF8
Analogous right#EB3DF8
Split-complement 1#F8EB3D
Split-complement 2#4AF83D
Triadic 1#F88D3D
Triadic 2#3DF88D
Tetradic#F83D4A

RGB percentages

Red55.3%
Green23.9%
Blue97.3%

CMYK percentages

Cyan43.1%
Magenta75.4%
Yellow0.0%
Key (black)2.7%

Color previews

#8d3df8 text on a black background

contrast 4.16:1

Card sample

#8d3df8 text on a white background

contrast 5.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8d3df8

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.

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

#8d3df8, answered

What color is #8d3df8?

#8d3df8 is a balanced electric violet, closest to Blue Violet (ΔE2000 4.7). It sits at 266° on the hue wheel with 93% saturation and 61% lightness, which reads as cool.

What is the RGB value of #8d3df8?

rgb(141, 61, 248) — 141 red, 61 green and 248 blue out of 255, or 55.3% / 23.9% / 97.3% by channel.

Is #8d3df8 a light or a dark color?

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

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

White. It scores 5.05:1 against #8d3df8, versus 4.16:1 for black — AA at any size.

What is the complementary color of #8d3df8?

#A8F83D sits directly opposite on the wheel. Softer options are the split-complements #F8EB3D and #4AF83D, which give the same contrast with far less vibration.

What colors go well with #8d3df8?

For interface work: #F7F4FA as the surface, #D3C0ED for borders, #6D4B9B for secondary text, #A5C903 as an accent and #37047B for hover and pressed states. For a palette, the analogous pair #3D4AF8 and #EB3DF8 stays calm, while #A8F83D is the loudest partner.

What is #8d3df8 in CMYK for printing?

cmyk(43%, 75%, 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 #8d3df8 warm or cool?

Cool — it scores 69 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D23DF8; nudged cooler, #473BFA.

Work with #8d3df8 in the Color Lab