Skip to content

#d97cdd

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

RGB
217, 124, 221
HSL
298°, 59%, 68%
CMYK
2, 44, 0, 13
Luminance
0.3439

At a glance

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

Hex
#d97cdd
Hue
298°
magenta / pink
Saturation
59%
vivid
Lightness
68%
light
Brightness
87%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3439
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
7.88:1
Closest name
Orchid
ΔE2000 2.7
Where it sits
Hue298° of 360°
Saturation59%
Lightness68%
Temperature
Warm ← → Cool51% 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#d97cdd
RGBrgb(217, 124, 221)
HSLhsl(298, 59%, 68%)
CMYKcmyk(2%, 44%, 0%, 13%)
LABlab(65.3 50.3 -34.5)
LCHlch(65.3 61.0 325.5)
OKLCHoklch(0.721 0.167 325.6)
Decimal14253277
Display P3color(display-p3 0.851 0.486 0.867)

Copy-ready code

/* CSS */
color: #d97cdd;
background-color: #d97cdd;
/* Tailwind (arbitrary) */
class="text-[#d97cdd] bg-[#d97cdd]"
/* SCSS */
$brand: #d97cdd;
/* SwiftUI */
Color(red: 0.851, green: 0.486, blue: 0.867)
/* Android */
Color.parseColor("#d97cdd")
/* Flutter */
Color(0xFFD97CDD)
/* Python / OpenCV (BGR) */
(221, 124, 217)

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

Accessibility — WCAG contrast

Aa
#d97cdd on white: 2.67:1
AA ✗ fail · AA-large · AAA
Aa
#d97cdd on black: 7.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7297E0
deuteranopia · #8CA3DA
tritanopia · #DD86A2

Color scale — 50 to 950

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

#FBF4FB
#F6E9F7
#EECDEF
#E5A6E8
#d97cdd
#CB4DD1
#BC32C2
#9D2AA2
#7E2282
#5C1C5E
#39123B
Base = 400Lightest = 50 · #FBF4FBDarkest = 950 · #39123B
:root {
  --brand-50: #FBF4FB;
  --brand-100: #F6E9F7;
  --brand-200: #EECDEF;
  --brand-300: #E5A6E8;
  --brand-400: #d97cdd;
  --brand-500: #CB4DD1;
  --brand-600: #BC32C2;
  --brand-700: #9D2AA2;
  --brand-800: #7E2282;
  --brand-900: #5C1C5E;
  --brand-950: #39123B;
  --brand: #d97cdd;
  --brand-ink: #000000;
}

Colors that work with #d97cdd

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#EBC0ED
Hairlines and dividers
Muted text#984B9B
Captions on the surface
Accent#4CA626
Second voice, not a rival
Dark variant#621A65
Hover, pressed, headers
Light variant#F9EBFA
Selected rows, tints
Dark surface#241424
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 #d97cdd

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#80DD7C
Analogous left#A87CDD
Analogous right#DD7CB0
Split-complement 1#B0DD7C
Split-complement 2#7CDDA8
Triadic 1#DDD97C
Triadic 2#7CDDD9
Tetradic#DDA87C

RGB percentages

Red85.1%
Green48.6%
Blue86.7%

CMYK percentages

Cyan1.8%
Magenta43.9%
Yellow0.0%
Key (black)13.3%

Color previews

#d97cdd text on a black background

contrast 7.88:1

Card sample

#d97cdd text on a white background

contrast 2.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d97cdd

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.

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

#d97cdd, answered

What color is #d97cdd?

#d97cdd is a light vivid magenta / pink, closest to Orchid (ΔE2000 2.7). It sits at 298° on the hue wheel with 59% saturation and 68% lightness, which reads as neutral.

What is the RGB value of #d97cdd?

rgb(217, 124, 221) — 217 red, 124 green and 221 blue out of 255, or 85.1% / 48.6% / 86.7% by channel.

Is #d97cdd a light or a dark color?

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

Should I use black or white text on #d97cdd?

Black. It scores 7.88:1 against #d97cdd, versus 2.67:1 for white — AAA at any size.

What is the complementary color of #d97cdd?

#80DD7C sits directly opposite on the wheel. Softer options are the split-complements #B0DD7C and #7CDDA8, which give the same contrast with far less vibration.

What colors go well with #d97cdd?

For interface work: #FAF4FA as the surface, #EBC0ED for borders, #984B9B for secondary text, #4CA626 as an accent and #621A65 for hover and pressed states. For a palette, the analogous pair #A87CDD and #DD7CB0 stays calm, while #80DD7C is the loudest partner.

What is #d97cdd in CMYK for printing?

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

Is #d97cdd warm or cool?

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

Work with #d97cdd in the Color Lab