Skip to content

#ea9dfb

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

RGB
234, 157, 251
HSL
289°, 92%, 80%
CMYK
7, 38, 0, 2
Luminance
0.4857

At a glance

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

Hex
#ea9dfb
Hue
289°
violet
Saturation
92%
electric
Lightness
80%
light
Brightness
98%
HSV value
Perceived
76%
weighted brightness
Luminance
0.4857
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
10.71:1
Closest name
Violet
ΔE2000 5.9
Where it sits
Hue289° of 360°
Saturation92%
Lightness80%
Temperature
Warm ← → Cool56% 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#ea9dfb
RGBrgb(234, 157, 251)
HSLhsl(289, 92%, 80%)
CMYKcmyk(7%, 38%, 0%, 2%)
LABlab(75.2 43.8 -35.4)
LCHlch(75.2 56.4 321.1)
OKLCHoklch(0.804 0.152 320.2)
Decimal15375867
Display P3color(display-p3 0.918 0.616 0.984)

Copy-ready code

/* CSS */
color: #ea9dfb;
background-color: #ea9dfb;
/* Tailwind (arbitrary) */
class="text-[#ea9dfb] bg-[#ea9dfb]"
/* SCSS */
$brand: #ea9dfb;
/* SwiftUI */
Color(red: 0.918, green: 0.616, blue: 0.984)
/* Android */
Color.parseColor("#ea9dfb")
/* Flutter */
Color(0xFFEA9DFB)
/* Python / OpenCV (BGR) */
(251, 157, 234)

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 #ea9dfb · 10.71:1
Use #000000AAA at every size.
Aa
White text · 1.96:1
AA fail · AA large fail · AAA fail
Aa
Black text · 10.71:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ea9dfb as text scores 1.96:1 on white and 10.71:1 on black.

Accessibility — WCAG contrast

Aa
#ea9dfb on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#ea9dfb on black: 10.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #91B4FE
deuteranopia · #A4BCF8
tritanopia · #EBA8C0

Color scale — 50 to 950

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

#FBF2FD
#F7E4FB
#EFC3F9
#ea9dfb
#DC5DF8
#D127F6
#C20AEB
#A208C4
#81069D
#5E0971
#3B0647
Base = 300Lightest = 50 · #FBF2FDDarkest = 950 · #3B0647
:root {
  --brand-50: #FBF2FD;
  --brand-100: #F7E4FB;
  --brand-200: #EFC3F9;
  --brand-300: #ea9dfb;
  --brand-400: #DC5DF8;
  --brand-500: #D127F6;
  --brand-600: #C20AEB;
  --brand-700: #A208C4;
  --brand-800: #81069D;
  --brand-900: #5E0971;
  --brand-950: #3B0647;
  --brand: #ea9dfb;
  --brand-ink: #000000;
}

Colors that work with #ea9dfb

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#E4C0ED
Hairlines and dividers
Muted text#8C4B9B
Captions on the surface
Accent#58C804
Second voice, not a rival
Dark variant#65057B
Hover, pressed, headers
Light variant#FAE6FE
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 #ea9dfb

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#AEFB9D
Analogous left#BB9DFB
Analogous right#FB9DDD
Split-complement 1#DDFB9D
Split-complement 2#9DFBBB
Triadic 1#FBEA9D
Triadic 2#9DFBEA
Tetradic#FBBB9D

RGB percentages

Red91.8%
Green61.6%
Blue98.4%

CMYK percentages

Cyan6.8%
Magenta37.5%
Yellow0.0%
Key (black)1.6%

Color previews

#ea9dfb text on a black background

contrast 10.71:1

Card sample

#ea9dfb text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(234, 157, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(234, 157, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ea9dfb;
background: linear-gradient(135deg, #ea9dfb, #FB9DCD);

Monochromatic scale

Palettes built from #ea9dfb

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.

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

#ea9dfb, answered

What color is #ea9dfb?

#ea9dfb is a light electric violet, closest to Violet (ΔE2000 5.9). It sits at 289° on the hue wheel with 92% saturation and 80% lightness, which reads as neutral.

What is the RGB value of #ea9dfb?

rgb(234, 157, 251) — 234 red, 157 green and 251 blue out of 255, or 91.8% / 61.6% / 98.4% by channel.

Is #ea9dfb a light or a dark color?

It is a mid-tone. Relative luminance is 0.4857 and perceived brightness is 76%, so black text on it reaches 10.71:1.

Should I use black or white text on #ea9dfb?

Black. It scores 10.71:1 against #ea9dfb, versus 1.96:1 for white — AAA at any size.

What is the complementary color of #ea9dfb?

#AEFB9D sits directly opposite on the wheel. Softer options are the split-complements #DDFB9D and #9DFBBB, which give the same contrast with far less vibration.

What colors go well with #ea9dfb?

For interface work: #F9F4FA as the surface, #E4C0ED for borders, #8C4B9B for secondary text, #58C804 as an accent and #65057B for hover and pressed states. For a palette, the analogous pair #BB9DFB and #FB9DDD stays calm, while #AEFB9D is the loudest partner.

What is #ea9dfb in CMYK for printing?

cmyk(7%, 38%, 0%, 2%). 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 #ea9dfb warm or cool?

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

Work with #ea9dfb in the Color Lab