Skip to content

#e2acef

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

RGB
226, 172, 239
HSL
288°, 68%, 81%
CMYK
5, 28, 0, 6
Luminance
0.5191

At a glance

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

Hex
#e2acef
Hue
288°
violet
Saturation
68%
vivid
Lightness
81%
light
Brightness
94%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5191
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
11.38:1
Closest name
Plum
ΔE2000 3.7
Where it sits
Hue288° of 360°
Saturation68%
Lightness81%
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#e2acef
RGBrgb(226, 172, 239)
HSLhsl(288, 68%, 81%)
CMYKcmyk(5%, 28%, 0%, 6%)
LABlab(77.2 31.1 -25.9)
LCHlch(77.2 40.4 320.2)
OKLCHoklch(0.816 0.109 319.7)
Decimal14855407
Display P3color(display-p3 0.886 0.675 0.937)

Copy-ready code

/* CSS */
color: #e2acef;
background-color: #e2acef;
/* Tailwind (arbitrary) */
class="text-[#e2acef] bg-[#e2acef]"
/* SCSS */
$brand: #e2acef;
/* SwiftUI */
Color(red: 0.886, green: 0.675, blue: 0.937)
/* Android */
Color.parseColor("#e2acef")
/* Flutter */
Color(0xFFE2ACEF)
/* Python / OpenCV (BGR) */
(239, 172, 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 #e2acef · 11.38:1
Use #000000AAA at every size.
Aa
White text · 1.85:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.38:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #e2acef as text scores 1.85:1 on white and 11.38:1 on black.

Accessibility — WCAG contrast

Aa
#e2acef on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#e2acef on black: 11.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A4BBF2
deuteranopia · #B1C1ED
tritanopia · #E3B3C4

Color scale — 50 to 950

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

#FAF3FB
#F5E8F8
#EACAF2
#e2acef
#CE72E4
#BD43DB
#AD28CD
#9021AB
#731A89
#551763
#350E3E
Base = 300Lightest = 50 · #FAF3FBDarkest = 950 · #350E3E
:root {
  --brand-50: #FAF3FB;
  --brand-100: #F5E8F8;
  --brand-200: #EACAF2;
  --brand-300: #e2acef;
  --brand-400: #CE72E4;
  --brand-500: #BD43DB;
  --brand-600: #AD28CD;
  --brand-700: #9021AB;
  --brand-800: #731A89;
  --brand-900: #551763;
  --brand-950: #350E3E;
  --brand: #e2acef;
  --brand-ink: #000000;
}

Colors that work with #e2acef

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#8B4B9B
Captions on the surface
Accent#5FAF1D
Second voice, not a rival
Dark variant#5A156B
Hover, pressed, headers
Light variant#F8EAFB
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 #e2acef

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#B9EFAC
Analogous left#C1ACEF
Analogous right#EFACDA
Split-complement 1#DAEFAC
Split-complement 2#ACEFC1
Triadic 1#EFE2AC
Triadic 2#ACEFE2
Tetradic#EFC1AC

RGB percentages

Red88.6%
Green67.5%
Blue93.7%

CMYK percentages

Cyan5.4%
Magenta28.0%
Yellow0.0%
Key (black)6.3%

Color previews

#e2acef text on a black background

contrast 11.38:1

Card sample

#e2acef text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2acef

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.

#e2acef 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

Converts to four-color process without much drama. Proof it anyway.

#e2acef, answered

What color is #e2acef?

#e2acef is a light vivid violet, closest to Plum (ΔE2000 3.7). It sits at 288° on the hue wheel with 68% saturation and 81% lightness, which reads as neutral.

What is the RGB value of #e2acef?

rgb(226, 172, 239) — 226 red, 172 green and 239 blue out of 255, or 88.6% / 67.5% / 93.7% by channel.

Is #e2acef a light or a dark color?

It is a light color. Relative luminance is 0.5191 and perceived brightness is 78%, so black text on it reaches 11.38:1.

Should I use black or white text on #e2acef?

Black. It scores 11.38:1 against #e2acef, versus 1.85:1 for white — AAA at any size.

What is the complementary color of #e2acef?

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

What colors go well with #e2acef?

For interface work: #F9F4FA as the surface, #E4C0ED for borders, #8B4B9B for secondary text, #5FAF1D as an accent and #5A156B for hover and pressed states. For a palette, the analogous pair #C1ACEF and #EFACDA stays calm, while #B9EFAC is the loudest partner.

What is #e2acef in CMYK for printing?

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

Is #e2acef 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 #EFACE3; nudged cooler, #C9ABF0.

Work with #e2acef in the Color Lab