Skip to content

#d87fd2

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

RGB
216, 127, 210
HSL
304°, 53%, 67%
CMYK
0, 41, 3, 15
Luminance
0.3443

At a glance

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

Hex
#d87fd2
Hue
304°
magenta / pink
Saturation
53%
vivid
Lightness
67%
light
Brightness
85%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3443
WCAG relative
Temperature
Neutral
48/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
7.89:1
Closest name
Orchid
ΔE2000 3.6
Where it sits
Hue304° of 360°
Saturation53%
Lightness67%
Temperature
Warm ← → Cool48% 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#d87fd2
RGBrgb(216, 127, 210)
HSLhsl(304, 53%, 67%)
CMYKcmyk(0%, 41%, 3%, 15%)
LABlab(65.3 46.5 -28.3)
LCHlch(65.3 54.4 328.6)
OKLCHoklch(0.720 0.151 329.5)
Decimal14188498
Display P3color(display-p3 0.847 0.498 0.824)

Copy-ready code

/* CSS */
color: #d87fd2;
background-color: #d87fd2;
/* Tailwind (arbitrary) */
class="text-[#d87fd2] bg-[#d87fd2]"
/* SCSS */
$brand: #d87fd2;
/* SwiftUI */
Color(red: 0.847, green: 0.498, blue: 0.824)
/* Android */
Color.parseColor("#d87fd2")
/* Flutter */
Color(0xFFD87FD2)
/* Python / OpenCV (BGR) */
(210, 127, 216)

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

Accessibility — WCAG contrast

Aa
#d87fd2 on white: 2.66:1
AA ✗ fail · AA-large · AAA
Aa
#d87fd2 on black: 7.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7A97D5
deuteranopia · #92A3CF
tritanopia · #DE869F

Color scale — 50 to 950

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

#FBF4FA
#F6E9F5
#EDCEEB
#E5A9E1
#d87fd2
#CB53C3
#BC39B3
#9C3095
#7D2677
#5B1F57
#391337
Base = 400Lightest = 50 · #FBF4FADarkest = 950 · #391337
:root {
  --brand-50: #FBF4FA;
  --brand-100: #F6E9F5;
  --brand-200: #EDCEEB;
  --brand-300: #E5A9E1;
  --brand-400: #d87fd2;
  --brand-500: #CB53C3;
  --brand-600: #BC39B3;
  --brand-700: #9C3095;
  --brand-800: #7D2677;
  --brand-900: #5B1F57;
  --brand-950: #391337;
  --brand: #d87fd2;
  --brand-ink: #000000;
}

Colors that work with #d87fd2

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#ECC0E9
Hairlines and dividers
Muted text#9B4B96
Captions on the surface
Accent#41A02C
Second voice, not a rival
Dark variant#621E5D
Hover, pressed, headers
Light variant#F9EBF8
Selected rows, tints
Dark surface#241423
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 #d87fd2

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#7FD885
Analogous left#B27FD8
Analogous right#D87FA6
Split-complement 1#A6D87F
Split-complement 2#7FD8B2
Triadic 1#D2D87F
Triadic 2#7FD2D8
Tetradic#D8B27F

RGB percentages

Red84.7%
Green49.8%
Blue82.4%

CMYK percentages

Cyan0.0%
Magenta41.2%
Yellow2.8%
Key (black)15.3%

Color previews

#d87fd2 text on a black background

contrast 7.89:1

Card sample

#d87fd2 text on a white background

contrast 2.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(216, 127, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(216, 127, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d87fd2;
background: linear-gradient(135deg, #d87fd2, #D87F97);

Monochromatic scale

Palettes built from #d87fd2

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.

#d87fd2 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.

#d87fd2, answered

What color is #d87fd2?

#d87fd2 is a light vivid magenta / pink, closest to Orchid (ΔE2000 3.6). It sits at 304° on the hue wheel with 53% saturation and 67% lightness, which reads as neutral.

What is the RGB value of #d87fd2?

rgb(216, 127, 210) — 216 red, 127 green and 210 blue out of 255, or 84.7% / 49.8% / 82.4% by channel.

Is #d87fd2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3443 and perceived brightness is 66%, so black text on it reaches 7.89:1.

Should I use black or white text on #d87fd2?

Black. It scores 7.89:1 against #d87fd2, versus 2.66:1 for white — AAA at any size.

What is the complementary color of #d87fd2?

#7FD885 sits directly opposite on the wheel. Softer options are the split-complements #A6D87F and #7FD8B2, which give the same contrast with far less vibration.

What colors go well with #d87fd2?

For interface work: #FAF4FA as the surface, #ECC0E9 for borders, #9B4B96 for secondary text, #41A02C as an accent and #621E5D for hover and pressed states. For a palette, the analogous pair #B27FD8 and #D87FA6 stays calm, while #7FD885 is the loudest partner.

What is #d87fd2 in CMYK for printing?

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

Is #d87fd2 warm or cool?

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

Work with #d87fd2 in the Color Lab