Skip to content

#eba8fd

a light, electric violet · neutral · closest name: Plum

RGB
235, 168, 253
HSL
287°, 96%, 83%
CMYK
7, 34, 0, 1
Luminance
0.5276

At a glance

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

Hex
#eba8fd
Hue
287°
violet
Saturation
96%
electric
Lightness
83%
light
Brightness
99%
HSV value
Perceived
79%
weighted brightness
Luminance
0.5276
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
11.55:1
Closest name
Plum
ΔE2000 5.6
Where it sits
Hue287° of 360°
Saturation96%
Lightness83%
Temperature
Warm ← → Cool57% 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#eba8fd
RGBrgb(235, 168, 253)
HSLhsl(287, 96%, 83%)
CMYKcmyk(7%, 34%, 0%, 1%)
LABlab(77.7 38.7 -32.5)
LCHlch(77.7 50.6 319.9)
OKLCHoklch(0.824 0.136 319.0)
Decimal15444221
Display P3color(display-p3 0.922 0.659 0.992)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eba8fd on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#eba8fd on black: 11.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9DBCFF
deuteranopia · #ADC2FA
tritanopia · #ECB2C7

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #eba8fd is pinned to step 200; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBF1FD
#F7E4FC
#eba8fd
#E691FC
#D95AFB
#CD24FA
#BE06EF
#9E05C7
#7F04A0
#5C0773
#3A0548
Base = 200Lightest = 50 · #FBF1FDDarkest = 950 · #3A0548
:root {
  --brand-50: #FBF1FD;
  --brand-100: #F7E4FC;
  --brand-200: #eba8fd;
  --brand-300: #E691FC;
  --brand-400: #D95AFB;
  --brand-500: #CD24FA;
  --brand-600: #BE06EF;
  --brand-700: #9E05C7;
  --brand-800: #7F04A0;
  --brand-900: #5C0773;
  --brand-950: #3A0548;
  --brand: #eba8fd;
  --brand-ink: #000000;
}

Colors that work with #eba8fd

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#F9F4FA
Tinted page background
Border#E3C0ED
Hairlines and dividers
Muted text#8A4B9B
Captions on the surface
Accent#5ECC00
Second voice, not a rival
Dark variant#63037D
Hover, pressed, headers
Light variant#F9E6FE
Selected rows, tints
Dark surface#211424
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 #eba8fd

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#BAFDA8
Analogous left#C0A8FD
Analogous right#FDA8E4
Split-complement 1#E4FDA8
Split-complement 2#A8FDC0
Triadic 1#FDEBA8
Triadic 2#A8FDEB
Tetradic#FDC0A8

RGB percentages

Red92.2%
Green65.9%
Blue99.2%

CMYK percentages

Cyan7.1%
Magenta33.6%
Yellow0.0%
Key (black)0.8%

Color previews

#eba8fd text on a black background

contrast 11.55:1

Card sample

#eba8fd text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eba8fd

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.

#eba8fd in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#eba8fd, answered

What color is #eba8fd?

#eba8fd is a light electric violet, closest to Plum (ΔE2000 5.6). It sits at 287° on the hue wheel with 96% saturation and 83% lightness, which reads as neutral.

What is the RGB value of #eba8fd?

rgb(235, 168, 253) — 235 red, 168 green and 253 blue out of 255, or 92.2% / 65.9% / 99.2% by channel.

Is #eba8fd a light or a dark color?

It is a light color. Relative luminance is 0.5276 and perceived brightness is 79%, so black text on it reaches 11.55:1.

Should I use black or white text on #eba8fd?

Black. It scores 11.55:1 against #eba8fd, versus 1.82:1 for white — AAA at any size.

What is the complementary color of #eba8fd?

#BAFDA8 sits directly opposite on the wheel. Softer options are the split-complements #E4FDA8 and #A8FDC0, which give the same contrast with far less vibration.

What colors go well with #eba8fd?

For interface work: #F9F4FA as the surface, #E3C0ED for borders, #8A4B9B for secondary text, #5ECC00 as an accent and #63037D for hover and pressed states. For a palette, the analogous pair #C0A8FD and #FDA8E4 stays calm, while #BAFDA8 is the loudest partner.

What is #eba8fd in CMYK for printing?

cmyk(7%, 34%, 0%, 1%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #eba8fd warm or cool?

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

Work with #eba8fd in the Color Lab