Skip to content

#eb87db

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

RGB
235, 135, 219
HSL
310°, 71%, 73%
CMYK
0, 43, 7, 8
Luminance
0.4010

At a glance

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

Hex
#eb87db
Hue
310°
magenta / pink
Saturation
71%
vivid
Lightness
73%
light
Brightness
92%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4010
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
9.02:1
Closest name
Violet
ΔE2000 3.8
Where it sits
Hue310° of 360°
Saturation71%
Lightness73%
Temperature
Warm ← → Cool45% 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#eb87db
RGBrgb(235, 135, 219)
HSLhsl(310, 71%, 73%)
CMYKcmyk(0%, 43%, 7%, 8%)
LABlab(69.5 49.7 -26.6)
LCHlch(69.5 56.4 331.8)
OKLCHoklch(0.757 0.159 333.2)
Decimal15435739
Display P3color(display-p3 0.922 0.529 0.859)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb87db on white: 2.33:1
AA ✗ fail · AA-large · AAA
Aa
#eb87db on black: 9.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #85A1DE
deuteranopia · #A0AFD8
tritanopia · #F38DA7

Color scale — 50 to 950

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

#FCF3FA
#F8E7F5
#F3C9EC
#eb87db
#E76FD4
#DF3FC5
#D223B6
#AF1D98
#8C1779
#651559
#3F0D37
Base = 300Lightest = 50 · #FCF3FADarkest = 950 · #3F0D37
:root {
  --brand-50: #FCF3FA;
  --brand-100: #F8E7F5;
  --brand-200: #F3C9EC;
  --brand-300: #eb87db;
  --brand-400: #E76FD4;
  --brand-500: #DF3FC5;
  --brand-600: #D223B6;
  --brand-700: #AF1D98;
  --brand-800: #8C1779;
  --brand-900: #651559;
  --brand-950: #3F0D37;
  --brand: #eb87db;
  --brand-ink: #000000;
}

Colors that work with #eb87db

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#9B4B8E
Captions on the surface
Accent#27B319
Second voice, not a rival
Dark variant#6D125F
Hover, pressed, headers
Light variant#FBE9F8
Selected rows, tints
Dark surface#241422
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 #eb87db

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#87EB97
Analogous left#C987EB
Analogous right#EB87A9
Split-complement 1#A9EB87
Split-complement 2#87EBC9
Triadic 1#DBEB87
Triadic 2#87DBEB
Tetradic#EBC987

RGB percentages

Red92.2%
Green52.9%
Blue85.9%

CMYK percentages

Cyan0.0%
Magenta42.6%
Yellow6.8%
Key (black)7.8%

Color previews

#eb87db text on a black background

contrast 9.02:1

Card sample

#eb87db text on a white background

contrast 2.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb87db

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.

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

#eb87db, answered

What color is #eb87db?

#eb87db is a light vivid magenta / pink, closest to Violet (ΔE2000 3.8). It sits at 310° on the hue wheel with 71% saturation and 73% lightness, which reads as neutral.

What is the RGB value of #eb87db?

rgb(235, 135, 219) — 235 red, 135 green and 219 blue out of 255, or 92.2% / 52.9% / 85.9% by channel.

Is #eb87db a light or a dark color?

It is a mid-tone. Relative luminance is 0.4010 and perceived brightness is 71%, so black text on it reaches 9.02:1.

Should I use black or white text on #eb87db?

Black. It scores 9.02:1 against #eb87db, versus 2.33:1 for white — AAA at any size.

What is the complementary color of #eb87db?

#87EB97 sits directly opposite on the wheel. Softer options are the split-complements #A9EB87 and #87EBC9, which give the same contrast with far less vibration.

What colors go well with #eb87db?

For interface work: #FAF4F9 as the surface, #EDC0E5 for borders, #9B4B8E for secondary text, #27B319 as an accent and #6D125F for hover and pressed states. For a palette, the analogous pair #C987EB and #EB87A9 stays calm, while #87EB97 is the loudest partner.

What is #eb87db in CMYK for printing?

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

Is #eb87db warm or cool?

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

Work with #eb87db in the Color Lab