Skip to content

#8d1eee

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

RGB
141, 30, 238
HSL
272°, 86%, 53%
CMYK
41, 87, 0, 7
Luminance
0.1276

At a glance

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

Hex
#8d1eee
Hue
272°
violet
Saturation
86%
electric
Lightness
53%
balanced
Brightness
93%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1276
WCAG relative
Temperature
Cool
66/100 cool
Color family
Violet
Tone
Electric
Best ink
White
5.91:1
Closest name
Blue Violet
ΔE2000 1.6
Where it sits
Hue272° of 360°
Saturation86%
Lightness53%
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#8d1eee
RGBrgb(141, 30, 238)
HSLhsl(272, 86%, 53%)
CMYKcmyk(41%, 87%, 0%, 7%)
LABlab(42.4 76.4 -81.2)
LCHlch(42.4 111.5 313.3)
OKLCHoklch(0.539 0.270 300.7)
Decimal9248494
Display P3color(display-p3 0.553 0.118 0.933)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8d1eee on white: 5.91:1
AA ✓ pass · AA-large · AAA
Aa
#8d1eee on black: 3.55:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0063F3
deuteranopia · #0063EA
tritanopia · #76608E

Color scale — 50 to 950

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

#F8F2FD
#F0E5FA
#E0C5F7
#CA97F7
#B062F3
#8d1eee
#8111E4
#6C0EBE
#560B98
#400D6E
#280845
Base = 500Lightest = 50 · #F8F2FDDarkest = 950 · #280845
:root {
  --brand-50: #F8F2FD;
  --brand-100: #F0E5FA;
  --brand-200: #E0C5F7;
  --brand-300: #CA97F7;
  --brand-400: #B062F3;
  --brand-500: #8d1eee;
  --brand-600: #8111E4;
  --brand-700: #6C0EBE;
  --brand-800: #560B98;
  --brand-900: #400D6E;
  --brand-950: #280845;
  --brand: #8d1eee;
  --brand-ink: #ffffff;
}

Colors that work with #8d1eee

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#D8C0ED
Hairlines and dividers
Muted text#754B9B
Captions on the surface
Accent#8EC20A
Second voice, not a rival
Dark variant#430977
Hover, pressed, headers
Light variant#F3E7FD
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 #8d1eee

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#7FEE1E
Analogous left#251EEE
Analogous right#EE1EE7
Split-complement 1#E7EE1E
Split-complement 2#1EEE25
Triadic 1#EE8D1E
Triadic 2#1EEE8D
Tetradic#EE251E

RGB percentages

Red55.3%
Green11.8%
Blue93.3%

CMYK percentages

Cyan40.8%
Magenta87.4%
Yellow0.0%
Key (black)6.7%

Color previews

#8d1eee text on a black background

contrast 3.55:1

Card sample

#8d1eee text on a white background

contrast 5.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8d1eee

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.

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

#8d1eee, answered

What color is #8d1eee?

#8d1eee is a balanced electric violet, closest to Blue Violet (ΔE2000 1.6). It sits at 272° on the hue wheel with 86% saturation and 53% lightness, which reads as cool.

What is the RGB value of #8d1eee?

rgb(141, 30, 238) — 141 red, 30 green and 238 blue out of 255, or 55.3% / 11.8% / 93.3% by channel.

Is #8d1eee a light or a dark color?

It is a dark color. Relative luminance is 0.1276 and perceived brightness is 45%, so white text on it reaches 5.91:1.

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

White. It scores 5.91:1 against #8d1eee, versus 3.55:1 for black — AA at any size.

What is the complementary color of #8d1eee?

#7FEE1E sits directly opposite on the wheel. Softer options are the split-complements #E7EE1E and #1EEE25, which give the same contrast with far less vibration.

What colors go well with #8d1eee?

For interface work: #F8F4FA as the surface, #D8C0ED for borders, #754B9B for secondary text, #8EC20A as an accent and #430977 for hover and pressed states. For a palette, the analogous pair #251EEE and #EE1EE7 stays calm, while #7FEE1E is the loudest partner.

What is #8d1eee in CMYK for printing?

cmyk(41%, 87%, 0%, 7%). 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 #8d1eee 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 #D91EEE; nudged cooler, #3F1BF0.

Work with #8d1eee in the Color Lab