Skip to content

#d78bdf

a light, vivid magenta / pink · neutral · closest name: Violet

RGB
215, 139, 223
HSL
294°, 57%, 71%
CMYK
4, 38, 0, 13
Luminance
0.3824

At a glance

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

Hex
#d78bdf
Hue
294°
magenta / pink
Saturation
57%
vivid
Lightness
71%
light
Brightness
87%
HSV value
Perceived
69%
weighted brightness
Luminance
0.3824
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
8.65:1
Closest name
Violet
ΔE2000 4.5
Where it sits
Hue294° of 360°
Saturation57%
Lightness71%
Temperature
Warm ← → Cool53% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#d78bdf
RGBrgb(215, 139, 223)
HSLhsl(294, 57%, 71%)
CMYKcmyk(4%, 38%, 0%, 13%)
LABlab(68.2 42.2 -31.1)
LCHlch(68.2 52.4 323.7)
OKLCHoklch(0.743 0.143 323.5)
Decimal14126047
Display P3color(display-p3 0.843 0.545 0.875)

Copy-ready code

/* CSS */
color: #d78bdf;
background-color: #d78bdf;
/* Tailwind (arbitrary) */
class="text-[#d78bdf] bg-[#d78bdf]"
/* SCSS */
$brand: #d78bdf;
/* SwiftUI */
Color(red: 0.843, green: 0.545, blue: 0.875)
/* Android */
Color.parseColor("#d78bdf")
/* Flutter */
Color(0xFFD78BDF)
/* Python / OpenCV (BGR) */
(223, 139, 215)

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#000000 on #d78bdf · 8.65:1
Use #000000AAA at every size.
Aa
White text · 2.43:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.65:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #d78bdf as text scores 2.43:1 on white and 8.65:1 on black.

Accessibility — WCAG contrast

Aa
#d78bdf on white: 2.43:1
AA ✗ fail · AA-large · AAA
Aa
#d78bdf on black: 8.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #82A1E2
deuteranopia · #96A9DC
tritanopia · #DA94AB

Color scale — 50 to 950

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

#FAF4FB
#F5E9F6
#EBCDEE
#E1A7E7
#d78bdf
#C24FCF
#B335C0
#952CA0
#772380
#571D5D
#36123A
Base = 400Lightest = 50 · #FAF4FBDarkest = 950 · #36123A
:root {
  --brand-50: #FAF4FB;
  --brand-100: #F5E9F6;
  --brand-200: #EBCDEE;
  --brand-300: #E1A7E7;
  --brand-400: #d78bdf;
  --brand-500: #C24FCF;
  --brand-600: #B335C0;
  --brand-700: #952CA0;
  --brand-800: #772380;
  --brand-900: #571D5D;
  --brand-950: #36123A;
  --brand: #d78bdf;
  --brand-ink: #000000;
}

Colors that work with #d78bdf

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF4FA
Tinted page background
Border#E8C0ED
Hairlines and dividers
Muted text#934B9B
Captions on the surface
Accent#53A428
Second voice, not a rival
Dark variant#5D1C64
Hover, pressed, headers
Light variant#F8EBF9
Selected rows, tints
Dark surface#231424
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 #d78bdf

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • 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#93DF8B
Analogous left#AD8BDF
Analogous right#DF8BBD
Split-complement 1#BDDF8B
Split-complement 2#8BDFAD
Triadic 1#DFD78B
Triadic 2#8BDFD7
Tetradic#DFAD8B

RGB percentages

Red84.3%
Green54.5%
Blue87.5%

CMYK percentages

Cyan3.6%
Magenta37.7%
Yellow0.0%
Key (black)12.5%

Color previews

#d78bdf text on a black background

contrast 8.65:1

Card sample

#d78bdf text on a white background

contrast 2.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d78bdf

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.

#d78bdf in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

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

#d78bdf, answered

What color is #d78bdf?

#d78bdf is a light vivid magenta / pink, closest to Violet (ΔE2000 4.5). It sits at 294° on the hue wheel with 57% saturation and 71% lightness, which reads as neutral.

What is the RGB value of #d78bdf?

rgb(215, 139, 223) — 215 red, 139 green and 223 blue out of 255, or 84.3% / 54.5% / 87.5% by channel.

Is #d78bdf a light or a dark color?

It is a mid-tone. Relative luminance is 0.3824 and perceived brightness is 69%, so black text on it reaches 8.65:1.

Should I use black or white text on #d78bdf?

Black. It scores 8.65:1 against #d78bdf, versus 2.43:1 for white — AAA at any size.

What is the complementary color of #d78bdf?

#93DF8B sits directly opposite on the wheel. Softer options are the split-complements #BDDF8B and #8BDFAD, which give the same contrast with far less vibration.

What colors go well with #d78bdf?

For interface work: #FAF4FA as the surface, #E8C0ED for borders, #934B9B for secondary text, #53A428 as an accent and #5D1C64 for hover and pressed states. For a palette, the analogous pair #AD8BDF and #DF8BBD stays calm, while #93DF8B is the loudest partner.

What is #d78bdf in CMYK for printing?

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

Is #d78bdf warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DF8BC8; nudged cooler, #B88AE1.

Work with #d78bdf in the Color Lab