Skip to content

#e2acf0

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

RGB
226, 172, 240
HSL
288°, 69%, 81%
CMYK
6, 28, 0, 6
Luminance
0.5197

At a glance

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

Hex
#e2acf0
Hue
288°
violet
Saturation
69%
vivid
Lightness
81%
light
Brightness
94%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5197
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
11.39:1
Closest name
Plum
ΔE2000 3.9
Where it sits
Hue288° of 360°
Saturation69%
Lightness81%
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#e2acf0
RGBrgb(226, 172, 240)
HSLhsl(288, 69%, 81%)
CMYKcmyk(6%, 28%, 0%, 6%)
LABlab(77.3 31.3 -26.3)
LCHlch(77.3 40.9 319.9)
OKLCHoklch(0.816 0.110 319.2)
Decimal14855408
Display P3color(display-p3 0.886 0.675 0.941)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2acf0 on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#e2acf0 on black: 11.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A4BBF3
deuteranopia · #B0C1EE
tritanopia · #E3B3C4

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #e2acf0 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
#F5E7F8
#EACAF2
#e2acf0
#CD70E5
#BC41DD
#AC25CF
#901FAD
#73198A
#541664
#350E3F
Base = 300Lightest = 50 · #FAF3FBDarkest = 950 · #350E3F
:root {
  --brand-50: #FAF3FB;
  --brand-100: #F5E7F8;
  --brand-200: #EACAF2;
  --brand-300: #e2acf0;
  --brand-400: #CD70E5;
  --brand-500: #BC41DD;
  --brand-600: #AC25CF;
  --brand-700: #901FAD;
  --brand-800: #73198A;
  --brand-900: #541664;
  --brand-950: #350E3F;
  --brand: #e2acf0;
  --brand-ink: #000000;
}

Colors that work with #e2acf0

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#60B11B
Second voice, not a rival
Dark variant#5A146C
Hover, pressed, headers
Light variant#F7E9FB
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 #e2acf0

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#BAF0AC
Analogous left#C0ACF0
Analogous right#F0ACDC
Split-complement 1#DCF0AC
Split-complement 2#ACF0C0
Triadic 1#F0E2AC
Triadic 2#ACF0E2
Tetradic#F0C0AC

RGB percentages

Red88.6%
Green67.5%
Blue94.1%

CMYK percentages

Cyan5.8%
Magenta28.3%
Yellow0.0%
Key (black)5.9%

Color previews

#e2acf0 text on a black background

contrast 11.39:1

Card sample

#e2acf0 text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2acf0

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.

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

#e2acf0, answered

What color is #e2acf0?

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

What is the RGB value of #e2acf0?

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

Is #e2acf0 a light or a dark color?

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

Should I use black or white text on #e2acf0?

Black. It scores 11.39:1 against #e2acf0, versus 1.84:1 for white — AAA at any size.

What is the complementary color of #e2acf0?

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

What colors go well with #e2acf0?

For interface work: #F9F4FA as the surface, #E3C0ED for borders, #8A4B9B for secondary text, #60B11B as an accent and #5A146C for hover and pressed states. For a palette, the analogous pair #C0ACF0 and #F0ACDC stays calm, while #BAF0AC is the loudest partner.

What is #e2acf0 in CMYK for printing?

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

Is #e2acf0 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 #F0ACE5; nudged cooler, #C9ABF1.

Work with #e2acf0 in the Color Lab