Skip to content

#eb87d2

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

RGB
235, 135, 210
HSL
315°, 71%, 73%
CMYK
0, 43, 11, 8
Luminance
0.3964

At a glance

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

Hex
#eb87d2
Hue
315°
magenta / pink
Saturation
71%
vivid
Lightness
73%
light
Brightness
92%
HSV value
Perceived
70%
weighted brightness
Luminance
0.3964
WCAG relative
Temperature
Warm
42/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
8.93:1
Closest name
Violet
ΔE2000 5.7
Where it sits
Hue315° of 360°
Saturation71%
Lightness73%
Temperature
Warm ← → Cool42% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#eb87d2
RGBrgb(235, 135, 210)
HSLhsl(315, 71%, 73%)
CMYKcmyk(0%, 43%, 11%, 8%)
LABlab(69.2 48.2 -22.1)
LCHlch(69.2 53.0 335.4)
OKLCHoklch(0.754 0.152 337.0)
Decimal15435730
Display P3color(display-p3 0.922 0.529 0.824)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb87d2 on white: 2.35:1
AA ✗ fail · AA-large · AAA
Aa
#eb87d2 on black: 8.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #89A0D5
deuteranopia · #A3AFCF
tritanopia · #F58AA3

Color scale — 50 to 950

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

#FCF3F9
#F8E7F4
#F3C9E8
#eb87d2
#E76FC9
#DF3FB7
#D223A6
#AF1D8A
#8C176F
#651551
#3F0D33
Base = 300Lightest = 50 · #FCF3F9Darkest = 950 · #3F0D33
:root {
  --brand-50: #FCF3F9;
  --brand-100: #F8E7F4;
  --brand-200: #F3C9E8;
  --brand-300: #eb87d2;
  --brand-400: #E76FC9;
  --brand-500: #DF3FB7;
  --brand-600: #D223A6;
  --brand-700: #AF1D8A;
  --brand-800: #8C176F;
  --brand-900: #651551;
  --brand-950: #3F0D33;
  --brand: #eb87d2;
  --brand-ink: #000000;
}

Colors that work with #eb87d2

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#EDC0E1
Hairlines and dividers
Muted text#9B4B87
Captions on the surface
Accent#19B319
Second voice, not a rival
Dark variant#6D1257
Hover, pressed, headers
Light variant#FBE9F7
Selected rows, tints
Dark surface#241420
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 #eb87d2

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#87EBA0
Analogous left#D287EB
Analogous right#EB87A0
Split-complement 1#A0EB87
Split-complement 2#87EBD2
Triadic 1#D2EB87
Triadic 2#87D2EB
Tetradic#EBD287

RGB percentages

Red92.2%
Green52.9%
Blue82.4%

CMYK percentages

Cyan0.0%
Magenta42.6%
Yellow10.6%
Key (black)7.8%

Color previews

#eb87d2 text on a black background

contrast 8.93:1

Card sample

#eb87d2 text on a white background

contrast 2.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb87d2

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.

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

#eb87d2, answered

What color is #eb87d2?

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

What is the RGB value of #eb87d2?

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

Is #eb87d2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3964 and perceived brightness is 70%, so black text on it reaches 8.93:1.

Should I use black or white text on #eb87d2?

Black. It scores 8.93:1 against #eb87d2, versus 2.35:1 for white — AAA at any size.

What is the complementary color of #eb87d2?

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

What colors go well with #eb87d2?

For interface work: #FAF4F9 as the surface, #EDC0E1 for borders, #9B4B87 for secondary text, #19B319 as an accent and #6D1257 for hover and pressed states. For a palette, the analogous pair #D287EB and #EB87A0 stays calm, while #87EBA0 is the loudest partner.

What is #eb87d2 in CMYK for printing?

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

Is #eb87d2 warm or cool?

Warm — it scores 42 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EB87AD; nudged cooler, #E085EC.

Work with #eb87d2 in the Color Lab