Skip to content

#eb97dc

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

RGB
235, 151, 220
HSL
311°, 68%, 76%
CMYK
0, 36, 6, 8
Luminance
0.4496

At a glance

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

Hex
#eb97dc
Hue
311°
magenta / pink
Saturation
68%
vivid
Lightness
76%
light
Brightness
92%
HSV value
Perceived
74%
weighted brightness
Luminance
0.4496
WCAG relative
Temperature
Neutral
44/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
9.99:1
Closest name
Plum
ΔE2000 3.7
Where it sits
Hue311° of 360°
Saturation68%
Lightness76%
Temperature
Warm ← → Cool44% 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#eb97dc
RGBrgb(235, 151, 220)
HSLhsl(311, 68%, 76%)
CMYKcmyk(0%, 36%, 6%, 8%)
LABlab(72.9 41.6 -22.1)
LCHlch(72.9 47.1 332.1)
OKLCHoklch(0.783 0.133 333.4)
Decimal15439836
Display P3color(display-p3 0.922 0.592 0.863)

Copy-ready code

/* CSS */
color: #eb97dc;
background-color: #eb97dc;
/* Tailwind (arbitrary) */
class="text-[#eb97dc] bg-[#eb97dc]"
/* SCSS */
$brand: #eb97dc;
/* SwiftUI */
Color(red: 0.922, green: 0.592, blue: 0.863)
/* Android */
Color.parseColor("#eb97dc")
/* Flutter */
Color(0xFFEB97DC)
/* Python / OpenCV (BGR) */
(220, 151, 235)

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

Accessibility — WCAG contrast

Aa
#eb97dc on white: 2.10:1
AA ✗ fail · AA-large · AAA
Aa
#eb97dc on black: 9.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #96ABDF
deuteranopia · #ABB7D9
tritanopia · #F29BB0

Color scale — 50 to 950

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

#FBF3FA
#F8E8F5
#F2CAEB
#eb97dc
#E472D0
#DB43C0
#CD28B0
#AB2192
#891A75
#631756
#3E0E36
Base = 300Lightest = 50 · #FBF3FADarkest = 950 · #3E0E36
:root {
  --brand-50: #FBF3FA;
  --brand-100: #F8E8F5;
  --brand-200: #F2CAEB;
  --brand-300: #eb97dc;
  --brand-400: #E472D0;
  --brand-500: #DB43C0;
  --brand-600: #CD28B0;
  --brand-700: #AB2192;
  --brand-800: #891A75;
  --brand-900: #631756;
  --brand-950: #3E0E36;
  --brand: #eb97dc;
  --brand-ink: #000000;
}

Colors that work with #eb97dc

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#EDC0E5
Hairlines and dividers
Muted text#9B4B8D
Captions on the surface
Accent#27AE1E
Second voice, not a rival
Dark variant#6B155C
Hover, pressed, headers
Light variant#FBEAF8
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 #eb97dc

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#97EBA6
Analogous left#D097EB
Analogous right#EB97B2
Split-complement 1#B2EB97
Split-complement 2#97EBD0
Triadic 1#DCEB97
Triadic 2#97DCEB
Tetradic#EBD097

RGB percentages

Red92.2%
Green59.2%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta35.7%
Yellow6.4%
Key (black)7.8%

Color previews

#eb97dc text on a black background

contrast 9.99:1

Card sample

#eb97dc text on a white background

contrast 2.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(235, 151, 220, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 151, 220, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eb97dc;
background: linear-gradient(135deg, #eb97dc, #EB97A4);

Monochromatic scale

Palettes built from #eb97dc

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.

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

#eb97dc, answered

What color is #eb97dc?

#eb97dc is a light vivid magenta / pink, closest to Plum (ΔE2000 3.7). It sits at 311° on the hue wheel with 68% saturation and 76% lightness, which reads as neutral.

What is the RGB value of #eb97dc?

rgb(235, 151, 220) — 235 red, 151 green and 220 blue out of 255, or 92.2% / 59.2% / 86.3% by channel.

Is #eb97dc a light or a dark color?

It is a mid-tone. Relative luminance is 0.4496 and perceived brightness is 74%, so black text on it reaches 9.99:1.

Should I use black or white text on #eb97dc?

Black. It scores 9.99:1 against #eb97dc, versus 2.10:1 for white — AAA at any size.

What is the complementary color of #eb97dc?

#97EBA6 sits directly opposite on the wheel. Softer options are the split-complements #B2EB97 and #97EBD0, which give the same contrast with far less vibration.

What colors go well with #eb97dc?

For interface work: #FAF4F9 as the surface, #EDC0E5 for borders, #9B4B8D for secondary text, #27AE1E as an accent and #6B155C for hover and pressed states. For a palette, the analogous pair #D097EB and #EB97B2 stays calm, while #97EBA6 is the loudest partner.

What is #eb97dc in CMYK for printing?

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

Is #eb97dc warm or cool?

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

Work with #eb97dc in the Color Lab