Skip to content

#8f4cdd

a balanced, vivid violet · cool · closest name: Dark Orchid

RGB
143, 76, 221
HSL
268°, 68%, 58%
CMYK
35, 66, 0, 13
Luminance
0.1623

At a glance

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

Hex
#8f4cdd
Hue
268°
violet
Saturation
68%
vivid
Lightness
58%
balanced
Brightness
87%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1623
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
4.95:1
Closest name
Dark Orchid
ΔE2000 5.8
Where it sits
Hue268° of 360°
Saturation68%
Lightness58%
Temperature
Warm ← → Cool68% 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#8f4cdd
RGBrgb(143, 76, 221)
HSLhsl(268, 68%, 58%)
CMYKcmyk(35%, 66%, 0%, 13%)
LABlab(47.3 55.8 -63.6)
LCHlch(47.3 84.6 311.3)
OKLCHoklch(0.570 0.211 301.1)
Decimal9391325
Display P3color(display-p3 0.561 0.298 0.867)

Copy-ready code

/* CSS */
color: #8f4cdd;
background-color: #8f4cdd;
/* Tailwind (arbitrary) */
class="text-[#8f4cdd] bg-[#8f4cdd]"
/* SCSS */
$brand: #8f4cdd;
/* SwiftUI */
Color(red: 0.561, green: 0.298, blue: 0.867)
/* Android */
Color.parseColor("#8f4cdd")
/* Flutter */
Color(0xFF8F4CDD)
/* Python / OpenCV (BGR) */
(221, 76, 143)

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

Accessibility — WCAG contrast

Aa
#8f4cdd on white: 4.95:1
AA ✓ pass · AA-large · AAA
Aa
#8f4cdd on black: 4.25:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #006FE1
deuteranopia · #006FDA
tritanopia · #7E6D8E

Color scale — 50 to 950

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

#F7F3FB
#EFE8F8
#DCCAF2
#C4A1ED
#A672E4
#8f4cdd
#7427CE
#6121AB
#4D1A89
#3A1764
#240E3E
Base = 500Lightest = 50 · #F7F3FBDarkest = 950 · #240E3E
:root {
  --brand-50: #F7F3FB;
  --brand-100: #EFE8F8;
  --brand-200: #DCCAF2;
  --brand-300: #C4A1ED;
  --brand-400: #A672E4;
  --brand-500: #8f4cdd;
  --brand-600: #7427CE;
  --brand-700: #6121AB;
  --brand-800: #4D1A89;
  --brand-900: #3A1764;
  --brand-950: #240E3E;
  --brand: #8f4cdd;
  --brand-ink: #ffffff;
}

Colors that work with #8f4cdd

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#D4C0ED
Hairlines and dividers
Muted text#704B9B
Captions on the surface
Accent#91AF1D
Second voice, not a rival
Dark variant#3C146B
Hover, pressed, headers
Light variant#F2EAFB
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 #8f4cdd

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#9ADD4C
Analogous left#4C51DD
Analogous right#D74CDD
Split-complement 1#DDD74C
Split-complement 2#51DD4C
Triadic 1#DD8F4C
Triadic 2#4CDD8F
Tetradic#DD4C51

RGB percentages

Red56.1%
Green29.8%
Blue86.7%

CMYK percentages

Cyan35.3%
Magenta65.6%
Yellow0.0%
Key (black)13.3%

Color previews

#8f4cdd text on a black background

contrast 4.25:1

Card sample

#8f4cdd text on a white background

contrast 4.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(143, 76, 221, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(143, 76, 221, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8f4cdd;
background: linear-gradient(135deg, #8f4cdd, #DD4CCA);

Monochromatic scale

Palettes built from #8f4cdd

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.

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

#8f4cdd, answered

What color is #8f4cdd?

#8f4cdd is a balanced vivid violet, closest to Dark Orchid (ΔE2000 5.8). It sits at 268° on the hue wheel with 68% saturation and 58% lightness, which reads as cool.

What is the RGB value of #8f4cdd?

rgb(143, 76, 221) — 143 red, 76 green and 221 blue out of 255, or 56.1% / 29.8% / 86.7% by channel.

Is #8f4cdd a light or a dark color?

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

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

White. It scores 4.95:1 against #8f4cdd, versus 4.25:1 for black — AA at any size.

What is the complementary color of #8f4cdd?

#9ADD4C sits directly opposite on the wheel. Softer options are the split-complements #DDD74C and #51DD4C, which give the same contrast with far less vibration.

What colors go well with #8f4cdd?

For interface work: #F7F4FA as the surface, #D4C0ED for borders, #704B9B for secondary text, #91AF1D as an accent and #3C146B for hover and pressed states. For a palette, the analogous pair #4C51DD and #D74CDD stays calm, while #9ADD4C is the loudest partner.

What is #8f4cdd in CMYK for printing?

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

Is #8f4cdd warm or cool?

Cool — it scores 68 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C44CDD; nudged cooler, #584ADF.

Work with #8f4cdd in the Color Lab