Skip to content

#d9afdb

a light, soft magenta / pink · neutral · closest name: Plum

RGB
217, 175, 219
HSL
297°, 38%, 77%
CMYK
1, 20, 0, 14
Luminance
0.5053

At a glance

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

Hex
#d9afdb
Hue
297°
magenta / pink
Saturation
38%
soft
Lightness
77%
light
Brightness
86%
HSV value
Perceived
76%
weighted brightness
Luminance
0.5053
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
11.11:1
Closest name
Plum
ΔE2000 5.1
Where it sits
Hue297° of 360°
Saturation38%
Lightness77%
Temperature
Warm ← → Cool52% 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#d9afdb
RGBrgb(217, 175, 219)
HSLhsl(297, 38%, 77%)
CMYKcmyk(1%, 20%, 0%, 14%)
LABlab(76.4 22.7 -16.4)
LCHlch(76.4 28.0 324.3)
OKLCHoklch(0.805 0.076 324.8)
Decimal14266331
Display P3color(display-p3 0.851 0.686 0.859)

Copy-ready code

/* CSS */
color: #d9afdb;
background-color: #d9afdb;
/* Tailwind (arbitrary) */
class="text-[#d9afdb] bg-[#d9afdb]"
/* SCSS */
$brand: #d9afdb;
/* SwiftUI */
Color(red: 0.851, green: 0.686, blue: 0.859)
/* Android */
Color.parseColor("#d9afdb")
/* Flutter */
Color(0xFFD9AFDB)
/* Python / OpenCV (BGR) */
(219, 175, 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 #d9afdb · 11.11:1
Use #000000AAA at every size.
Aa
White text · 1.89:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.11:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #d9afdb as text scores 1.89:1 on white and 11.11:1 on black.

Accessibility — WCAG contrast

Aa
#d9afdb on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#d9afdb on black: 11.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #ACB9DD
deuteranopia · #B5BED9
tritanopia · #DBB3BE

Color scale — 50 to 950

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

#F9F5FA
#F4EBF4
#E8D3E9
#d9afdb
#C88BCB
#B564B9
#A54CA9
#893F8D
#6E3371
#512853
#321934
Base = 300Lightest = 50 · #F9F5FADarkest = 950 · #321934
:root {
  --brand-50: #F9F5FA;
  --brand-100: #F4EBF4;
  --brand-200: #E8D3E9;
  --brand-300: #d9afdb;
  --brand-400: #C88BCB;
  --brand-500: #B564B9;
  --brand-600: #A54CA9;
  --brand-700: #893F8D;
  --brand-800: #6E3371;
  --brand-900: #512853;
  --brand-950: #321934;
  --brand: #d9afdb;
  --brand-ink: #000000;
}

Colors that work with #d9afdb

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#E4C7E6
Hairlines and dividers
Muted text#974B9B
Captions on the surface
Accent#54903C
Second voice, not a rival
Dark variant#562858
Hover, pressed, headers
Light variant#F7EDF7
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 #d9afdb

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

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#B1DBAF
Analogous left#C3AFDB
Analogous right#DBAFC7
Split-complement 1#C7DBAF
Split-complement 2#AFDBC3
Triadic 1#DBD9AF
Triadic 2#AFDBD9
Tetradic#DBC3AF

RGB percentages

Red85.1%
Green68.6%
Blue85.9%

CMYK percentages

Cyan0.9%
Magenta20.1%
Yellow0.0%
Key (black)14.1%

Color previews

#d9afdb text on a black background

contrast 11.11:1

Card sample

#d9afdb text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d9afdb

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.

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

#d9afdb, answered

What color is #d9afdb?

#d9afdb is a light soft magenta / pink, closest to Plum (ΔE2000 5.1). It sits at 297° on the hue wheel with 38% saturation and 77% lightness, which reads as neutral.

What is the RGB value of #d9afdb?

rgb(217, 175, 219) — 217 red, 175 green and 219 blue out of 255, or 85.1% / 68.6% / 85.9% by channel.

Is #d9afdb a light or a dark color?

It is a light color. Relative luminance is 0.5053 and perceived brightness is 76%, so black text on it reaches 11.11:1.

Should I use black or white text on #d9afdb?

Black. It scores 11.11:1 against #d9afdb, versus 1.89:1 for white — AAA at any size.

What is the complementary color of #d9afdb?

#B1DBAF sits directly opposite on the wheel. Softer options are the split-complements #C7DBAF and #AFDBC3, which give the same contrast with far less vibration.

What colors go well with #d9afdb?

For interface work: #FAF4FA as the surface, #E4C7E6 for borders, #974B9B for secondary text, #54903C as an accent and #562858 for hover and pressed states. For a palette, the analogous pair #C3AFDB and #DBAFC7 stays calm, while #B1DBAF is the loudest partner.

What is #d9afdb in CMYK for printing?

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

Is #d9afdb warm or cool?

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

Work with #d9afdb in the Color Lab