Skip to content

#ebbafe

a pale, electric violet · cool · closest name: Plum

RGB
235, 186, 254
HSL
283°, 97%, 86%
CMYK
8, 27, 0, 0
Luminance
0.5994

At a glance

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

Hex
#ebbafe
Hue
283°
violet
Saturation
97%
electric
Lightness
86%
pale
Brightness
100%
HSV value
Perceived
82%
weighted brightness
Luminance
0.5994
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
12.99:1
Closest name
Plum
ΔE2000 7
Where it sits
Hue283° of 360°
Saturation97%
Lightness86%
Temperature
Warm ← → Cool59% cool

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

Every format

HEX#ebbafe
RGBrgb(235, 186, 254)
HSLhsl(283, 97%, 86%)
CMYKcmyk(8%, 27%, 0%, 0%)
LABlab(81.8 29.3 -26.8)
LCHlch(81.8 39.8 317.5)
OKLCHoklch(0.855 0.106 316.4)
Decimal15448830
Display P3color(display-p3 0.922 0.729 0.996)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebbafe on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#ebbafe on black: 12.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B1C8FF
deuteranopia · #BCCDFC
tritanopia · #EBC2D2

Color scale — 50 to 950

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

#FAF1FD
#F5E4FC
#ebbafe
#DF90FD
#CF59FD
#BF22FC
#AF04F1
#9203C9
#7402A1
#550774
#350448
Base = 200Lightest = 50 · #FAF1FDDarkest = 950 · #350448
:root {
  --brand-50: #FAF1FD;
  --brand-100: #F5E4FC;
  --brand-200: #ebbafe;
  --brand-300: #DF90FD;
  --brand-400: #CF59FD;
  --brand-500: #BF22FC;
  --brand-600: #AF04F1;
  --brand-700: #9203C9;
  --brand-800: #7402A1;
  --brand-900: #550774;
  --brand-950: #350448;
  --brand: #ebbafe;
  --brand-ink: #000000;
}

Colors that work with #ebbafe

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#E0C0ED
Hairlines and dividers
Muted text#844B9B
Captions on the surface
Accent#6CCC00
Second voice, not a rival
Dark variant#5B027E
Hover, pressed, headers
Light variant#F8E6FF
Selected rows, tints
Dark surface#201424
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 #ebbafe

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#CDFEBA
Analogous left#C9BAFE
Analogous right#FEBAEF
Split-complement 1#EFFEBA
Split-complement 2#BAFEC9
Triadic 1#FEEBBA
Triadic 2#BAFEEB
Tetradic#FEC9BA

RGB percentages

Red92.2%
Green72.9%
Blue99.6%

CMYK percentages

Cyan7.5%
Magenta26.8%
Yellow0.0%
Key (black)0.4%

Color previews

#ebbafe text on a black background

contrast 12.99:1

Card sample

#ebbafe text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebbafe

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.

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

#ebbafe, answered

What color is #ebbafe?

#ebbafe is a pale electric violet, closest to Plum (ΔE2000 7). It sits at 283° on the hue wheel with 97% saturation and 86% lightness, which reads as cool.

What is the RGB value of #ebbafe?

rgb(235, 186, 254) — 235 red, 186 green and 254 blue out of 255, or 92.2% / 72.9% / 99.6% by channel.

Is #ebbafe a light or a dark color?

It is a light color. Relative luminance is 0.5994 and perceived brightness is 82%, so black text on it reaches 12.99:1.

Should I use black or white text on #ebbafe?

Black. It scores 12.99:1 against #ebbafe, versus 1.62:1 for white — AAA at any size.

What is the complementary color of #ebbafe?

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

What colors go well with #ebbafe?

For interface work: #F9F4FA as the surface, #E0C0ED for borders, #844B9B for secondary text, #6CCC00 as an accent and #5B027E for hover and pressed states. For a palette, the analogous pair #C9BAFE and #FEBAEF stays calm, while #CDFEBA is the loudest partner.

What is #ebbafe in CMYK for printing?

cmyk(8%, 27%, 0%, 0%). 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 #ebbafe warm or cool?

Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FEBAF8; nudged cooler, #D2B9FF.

Work with #ebbafe in the Color Lab