Skip to content

#8d23df

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

RGB
141, 35, 223
HSL
274°, 75%, 51%
CMYK
37, 84, 0, 13
Luminance
0.1219

At a glance

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

Hex
#8d23df
Hue
274°
violet
Saturation
75%
vivid
Lightness
51%
balanced
Brightness
87%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1219
WCAG relative
Temperature
Cool
65/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
6.11:1
Closest name
Blue Violet
ΔE2000 1.1
Where it sits
Hue274° of 360°
Saturation75%
Lightness51%
Temperature
Warm ← → Cool65% 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#8d23df
RGBrgb(141, 35, 223)
HSLhsl(274, 75%, 51%)
CMYKcmyk(37%, 84%, 0%, 13%)
LABlab(41.5 72.0 -74.1)
LCHlch(41.5 103.3 314.2)
OKLCHoklch(0.529 0.254 303.6)
Decimal9249759
Display P3color(display-p3 0.553 0.137 0.875)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8d23df on white: 6.11:1
AA ✓ pass · AA-large · AAA
Aa
#8d23df on black: 3.44:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0060E4
deuteranopia · #0062DC
tritanopia · #7C5B86

Color scale — 50 to 950

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

#F8F3FC
#F1E7F9
#E1C8F4
#CC9DF1
#B36CEA
#993BE3
#8d23df
#701AB2
#59158E
#431367
#2A0C41
Base = 600Lightest = 50 · #F8F3FCDarkest = 950 · #2A0C41
:root {
  --brand-50: #F8F3FC;
  --brand-100: #F1E7F9;
  --brand-200: #E1C8F4;
  --brand-300: #CC9DF1;
  --brand-400: #B36CEA;
  --brand-500: #993BE3;
  --brand-600: #8d23df;
  --brand-700: #701AB2;
  --brand-800: #59158E;
  --brand-900: #431367;
  --brand-950: #2A0C41;
  --brand: #8d23df;
  --brand-ink: #ffffff;
}

Colors that work with #8d23df

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#D9C0ED
Hairlines and dividers
Muted text#784B9B
Captions on the surface
Accent#84B616
Second voice, not a rival
Dark variant#46106F
Hover, pressed, headers
Light variant#F3E9FC
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 #8d23df

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#75DF23
Analogous left#2F23DF
Analogous right#DF23D3
Split-complement 1#D3DF23
Split-complement 2#23DF2F
Triadic 1#DF8D23
Triadic 2#23DF8D
Tetradic#DF2F23

RGB percentages

Red55.3%
Green13.7%
Blue87.5%

CMYK percentages

Cyan36.8%
Magenta84.3%
Yellow0.0%
Key (black)12.5%

Color previews

#8d23df text on a black background

contrast 3.44:1

Card sample

#8d23df text on a white background

contrast 6.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8d23df

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.

#8d23df 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

Converts to four-color process without much drama. Proof it anyway.

#8d23df, answered

What color is #8d23df?

#8d23df is a balanced vivid violet, closest to Blue Violet (ΔE2000 1.1). It sits at 274° on the hue wheel with 75% saturation and 51% lightness, which reads as cool.

What is the RGB value of #8d23df?

rgb(141, 35, 223) — 141 red, 35 green and 223 blue out of 255, or 55.3% / 13.7% / 87.5% by channel.

Is #8d23df a light or a dark color?

It is a dark color. Relative luminance is 0.1219 and perceived brightness is 44%, so white text on it reaches 6.11:1.

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

White. It scores 6.11:1 against #8d23df, versus 3.44:1 for black — AA at any size.

What is the complementary color of #8d23df?

#75DF23 sits directly opposite on the wheel. Softer options are the split-complements #D3DF23 and #23DF2F, which give the same contrast with far less vibration.

What colors go well with #8d23df?

For interface work: #F8F4FA as the surface, #D9C0ED for borders, #784B9B for secondary text, #84B616 as an accent and #46106F for hover and pressed states. For a palette, the analogous pair #2F23DF and #DF23D3 stays calm, while #75DF23 is the loudest partner.

What is #8d23df in CMYK for printing?

cmyk(37%, 84%, 0%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #8d23df warm or cool?

Cool — it scores 65 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D223DF; nudged cooler, #4621E2.

Work with #8d23df in the Color Lab