Skip to content

#e28bf9

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

RGB
226, 139, 249
HSL
288°, 90%, 76%
CMYK
9, 44, 0, 2
Luminance
0.4147

At a glance

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

Hex
#e28bf9
Hue
288°
violet
Saturation
90%
electric
Lightness
76%
light
Brightness
98%
HSV value
Perceived
72%
weighted brightness
Luminance
0.4147
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
9.29:1
Closest name
Violet
ΔE2000 3.6
Where it sits
Hue288° of 360°
Saturation90%
Lightness76%
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#e28bf9
RGBrgb(226, 139, 249)
HSLhsl(288, 90%, 76%)
CMYKcmyk(9%, 44%, 0%, 2%)
LABlab(70.5 50.5 -41.7)
LCHlch(70.5 65.5 320.5)
OKLCHoklch(0.766 0.175 319.0)
Decimal14846969
Display P3color(display-p3 0.886 0.545 0.976)

Copy-ready code

/* CSS */
color: #e28bf9;
background-color: #e28bf9;
/* Tailwind (arbitrary) */
class="text-[#e28bf9] bg-[#e28bf9]"
/* SCSS */
$brand: #e28bf9;
/* SwiftUI */
Color(red: 0.886, green: 0.545, blue: 0.976)
/* Android */
Color.parseColor("#e28bf9")
/* Flutter */
Color(0xFFE28BF9)
/* Python / OpenCV (BGR) */
(249, 139, 226)

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

Accessibility — WCAG contrast

Aa
#e28bf9 on white: 2.26:1
AA ✗ fail · AA-large · AAA
Aa
#e28bf9 on black: 9.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7AA7FD
deuteranopia · #92B0F6
tritanopia · #E399B6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #e28bf9 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
#F6E5FB
#EDC3F8
#e28bf9
#D75FF7
#CA2AF4
#BB0CE9
#9C0AC2
#7D089B
#5B0A70
#390746
Base = 300Lightest = 50 · #FBF2FDDarkest = 950 · #390746
:root {
  --brand-50: #FBF2FD;
  --brand-100: #F6E5FB;
  --brand-200: #EDC3F8;
  --brand-300: #e28bf9;
  --brand-400: #D75FF7;
  --brand-500: #CA2AF4;
  --brand-600: #BB0CE9;
  --brand-700: #9C0AC2;
  --brand-800: #7D089B;
  --brand-900: #5B0A70;
  --brand-950: #390746;
  --brand: #e28bf9;
  --brand-ink: #000000;
}

Colors that work with #e28bf9

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#5EC507
Second voice, not a rival
Dark variant#610679
Hover, pressed, headers
Light variant#F9E7FE
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 #e28bf9

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#A2F98B
Analogous left#AB8BF9
Analogous right#F98BD9
Split-complement 1#D9F98B
Split-complement 2#8BF9AB
Triadic 1#F9E28B
Triadic 2#8BF9E2
Tetradic#F9AB8B

RGB percentages

Red88.6%
Green54.5%
Blue97.6%

CMYK percentages

Cyan9.2%
Magenta44.2%
Yellow0.0%
Key (black)2.4%

Color previews

#e28bf9 text on a black background

contrast 9.29:1

Card sample

#e28bf9 text on a white background

contrast 2.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(226, 139, 249, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(226, 139, 249, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e28bf9;
background: linear-gradient(135deg, #e28bf9, #F98BC7);

Monochromatic scale

Palettes built from #e28bf9

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.

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

#e28bf9, answered

What color is #e28bf9?

#e28bf9 is a light electric violet, closest to Violet (ΔE2000 3.6). It sits at 288° on the hue wheel with 90% saturation and 76% lightness, which reads as neutral.

What is the RGB value of #e28bf9?

rgb(226, 139, 249) — 226 red, 139 green and 249 blue out of 255, or 88.6% / 54.5% / 97.6% by channel.

Is #e28bf9 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4147 and perceived brightness is 72%, so black text on it reaches 9.29:1.

Should I use black or white text on #e28bf9?

Black. It scores 9.29:1 against #e28bf9, versus 2.26:1 for white — AAA at any size.

What is the complementary color of #e28bf9?

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

What colors go well with #e28bf9?

For interface work: #F9F4FA as the surface, #E3C0ED for borders, #8A4B9B for secondary text, #5EC507 as an accent and #610679 for hover and pressed states. For a palette, the analogous pair #AB8BF9 and #F98BD9 stays calm, while #A2F98B is the loudest partner.

What is #e28bf9 in CMYK for printing?

cmyk(9%, 44%, 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 #e28bf9 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 #F98BE8; nudged cooler, #BA8AFA.

Work with #e28bf9 in the Color Lab