Skip to content

#eb8cee

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

RGB
235, 140, 238
HSL
298°, 74%, 74%
CMYK
1, 41, 0, 7
Luminance
0.4259

At a glance

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

Hex
#eb8cee
Hue
298°
magenta / pink
Saturation
74%
vivid
Lightness
74%
light
Brightness
93%
HSV value
Perceived
73%
weighted brightness
Luminance
0.4259
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
9.52:1
Closest name
Violet
ΔE2000 2.1
Where it sits
Hue298° of 360°
Saturation74%
Lightness74%
Temperature
Warm ← → Cool51% 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#eb8cee
RGBrgb(235, 140, 238)
HSLhsl(298, 74%, 74%)
CMYKcmyk(1%, 41%, 0%, 7%)
LABlab(71.3 50.5 -34.4)
LCHlch(71.3 61.1 325.7)
OKLCHoklch(0.773 0.168 326.0)
Decimal15437038
Display P3color(display-p3 0.922 0.549 0.933)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb8cee on white: 2.21:1
AA ✗ fail · AA-large · AAA
Aa
#eb8cee on black: 9.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #83A7F1
deuteranopia · #9DB3EB
tritanopia · #F096B2

Color scale — 50 to 950

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

#FCF3FC
#F8E7F9
#F2C8F3
#eb8cee
#E66CE9
#DD3CE2
#D020D5
#AD1AB2
#8B158E
#641367
#3F0C40
Base = 300Lightest = 50 · #FCF3FCDarkest = 950 · #3F0C40
:root {
  --brand-50: #FCF3FC;
  --brand-100: #F8E7F9;
  --brand-200: #F2C8F3;
  --brand-300: #eb8cee;
  --brand-400: #E66CE9;
  --brand-500: #DD3CE2;
  --brand-600: #D020D5;
  --brand-700: #AD1AB2;
  --brand-800: #8B158E;
  --brand-900: #641367;
  --brand-950: #3F0C40;
  --brand: #eb8cee;
  --brand-ink: #000000;
}

Colors that work with #eb8cee

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#EBC0ED
Hairlines and dividers
Muted text#994B9B
Captions on the surface
Accent#42B616
Second voice, not a rival
Dark variant#6C106F
Hover, pressed, headers
Light variant#FBE9FC
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 #eb8cee

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#8FEE8C
Analogous left#BA8CEE
Analogous right#EE8CC0
Split-complement 1#C0EE8C
Split-complement 2#8CEEBA
Triadic 1#EEEB8C
Triadic 2#8CEEEB
Tetradic#EEBA8C

RGB percentages

Red92.2%
Green54.9%
Blue93.3%

CMYK percentages

Cyan1.3%
Magenta41.2%
Yellow0.0%
Key (black)6.7%

Color previews

#eb8cee text on a black background

contrast 9.52:1

Card sample

#eb8cee text on a white background

contrast 2.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb8cee

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.

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

#eb8cee, answered

What color is #eb8cee?

#eb8cee is a light vivid magenta / pink, closest to Violet (ΔE2000 2.1). It sits at 298° on the hue wheel with 74% saturation and 74% lightness, which reads as neutral.

What is the RGB value of #eb8cee?

rgb(235, 140, 238) — 235 red, 140 green and 238 blue out of 255, or 92.2% / 54.9% / 93.3% by channel.

Is #eb8cee a light or a dark color?

It is a mid-tone. Relative luminance is 0.4259 and perceived brightness is 73%, so black text on it reaches 9.52:1.

Should I use black or white text on #eb8cee?

Black. It scores 9.52:1 against #eb8cee, versus 2.21:1 for white — AAA at any size.

What is the complementary color of #eb8cee?

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

What colors go well with #eb8cee?

For interface work: #FAF4FA as the surface, #EBC0ED for borders, #994B9B for secondary text, #42B616 as an accent and #6C106F for hover and pressed states. For a palette, the analogous pair #BA8CEE and #EE8CC0 stays calm, while #8FEE8C is the loudest partner.

What is #eb8cee in CMYK for printing?

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

Is #eb8cee warm or cool?

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

Work with #eb8cee in the Color Lab