Skip to content

#d98ac8

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

RGB
217, 138, 200
HSL
313°, 51%, 70%
CMYK
0, 36, 8, 15
Luminance
0.3710

At a glance

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

Hex
#d98ac8
Hue
313°
magenta / pink
Saturation
51%
vivid
Lightness
70%
light
Brightness
85%
HSV value
Perceived
68%
weighted brightness
Luminance
0.3710
WCAG relative
Temperature
Neutral
43/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
8.42:1
Closest name
Plum
ΔE2000 5.8
Where it sits
Hue313° of 360°
Saturation51%
Lightness70%
Temperature
Warm ← → Cool43% 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#d98ac8
RGBrgb(217, 138, 200)
HSLhsl(313, 51%, 70%)
CMYKcmyk(0%, 36%, 8%, 15%)
LABlab(67.3 39.3 -19.6)
LCHlch(67.3 43.9 333.5)
OKLCHoklch(0.734 0.124 335.0)
Decimal14256840
Display P3color(display-p3 0.851 0.541 0.784)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d98ac8 on white: 2.49:1
AA ✗ fail · AA-large · AAA
Aa
#d98ac8 on black: 8.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8A9DCA
deuteranopia · #9EA8C6
tritanopia · #E08DA1

Color scale — 50 to 950

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

#FAF4F9
#F6EAF3
#EDCFE6
#E4AAD7
#d98ac8
#C856AF
#B93C9E
#9A3284
#7B2869
#5A204E
#381430
Base = 400Lightest = 50 · #FAF4F9Darkest = 950 · #381430
:root {
  --brand-50: #FAF4F9;
  --brand-100: #F6EAF3;
  --brand-200: #EDCFE6;
  --brand-300: #E4AAD7;
  --brand-400: #d98ac8;
  --brand-500: #C856AF;
  --brand-600: #B93C9E;
  --brand-700: #9A3284;
  --brand-800: #7B2869;
  --brand-900: #5A204E;
  --brand-950: #381430;
  --brand: #d98ac8;
  --brand-ink: #000000;
}

Colors that work with #d98ac8

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#FAF4F9
Tinted page background
Border#EBC1E2
Hairlines and dividers
Muted text#9B4B8A
Captions on the surface
Accent#329E2E
Second voice, not a rival
Dark variant#601F52
Hover, pressed, headers
Light variant#F9ECF6
Selected rows, tints
Dark surface#241421
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 #d98ac8

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#8AD99B
Analogous left#C28AD9
Analogous right#D98AA0
Split-complement 1#A0D98A
Split-complement 2#8AD9C2
Triadic 1#C8D98A
Triadic 2#8AC8D9
Tetradic#D9C28A

RGB percentages

Red85.1%
Green54.1%
Blue78.4%

CMYK percentages

Cyan0.0%
Magenta36.4%
Yellow7.8%
Key (black)14.9%

Color previews

#d98ac8 text on a black background

contrast 8.42:1

Card sample

#d98ac8 text on a white background

contrast 2.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d98ac8

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.

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

#d98ac8, answered

What color is #d98ac8?

#d98ac8 is a light vivid magenta / pink, closest to Plum (ΔE2000 5.8). It sits at 313° on the hue wheel with 51% saturation and 70% lightness, which reads as neutral.

What is the RGB value of #d98ac8?

rgb(217, 138, 200) — 217 red, 138 green and 200 blue out of 255, or 85.1% / 54.1% / 78.4% by channel.

Is #d98ac8 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3710 and perceived brightness is 68%, so black text on it reaches 8.42:1.

Should I use black or white text on #d98ac8?

Black. It scores 8.42:1 against #d98ac8, versus 2.49:1 for white — AAA at any size.

What is the complementary color of #d98ac8?

#8AD99B sits directly opposite on the wheel. Softer options are the split-complements #A0D98A and #8AD9C2, which give the same contrast with far less vibration.

What colors go well with #d98ac8?

For interface work: #FAF4F9 as the surface, #EBC1E2 for borders, #9B4B8A for secondary text, #329E2E as an accent and #601F52 for hover and pressed states. For a palette, the analogous pair #C28AD9 and #D98AA0 stays calm, while #8AD99B is the loudest partner.

What is #d98ac8 in CMYK for printing?

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

Is #d98ac8 warm or cool?

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

Work with #d98ac8 in the Color Lab