Skip to content

#e2acf4

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

RGB
226, 172, 244
HSL
285°, 77%, 82%
CMYK
7, 30, 0, 4
Luminance
0.5221

At a glance

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

Hex
#e2acf4
Hue
285°
violet
Saturation
77%
electric
Lightness
82%
light
Brightness
96%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5221
WCAG relative
Temperature
Cool
58/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
11.44:1
Closest name
Plum
ΔE2000 4.5
Where it sits
Hue285° of 360°
Saturation77%
Lightness82%
Temperature
Warm ← → Cool58% 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#e2acf4
RGBrgb(226, 172, 244)
HSLhsl(285, 77%, 82%)
CMYKcmyk(7%, 30%, 0%, 4%)
LABlab(77.4 32.1 -28.3)
LCHlch(77.4 42.8 318.6)
OKLCHoklch(0.818 0.114 317.5)
Decimal14855412
Display P3color(display-p3 0.886 0.675 0.957)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2acf4 on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#e2acf4 on black: 11.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A3BCF7
deuteranopia · #AFC1F2
tritanopia · #E2B4C6

Color scale — 50 to 950

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

#FAF3FC
#F4E7F9
#E9C8F4
#e2acf4
#CB6AEB
#BA39E5
#A91DD8
#8D18B4
#711390
#531268
#340B41
Base = 300Lightest = 50 · #FAF3FCDarkest = 950 · #340B41
:root {
  --brand-50: #FAF3FC;
  --brand-100: #F4E7F9;
  --brand-200: #E9C8F4;
  --brand-300: #e2acf4;
  --brand-400: #CB6AEB;
  --brand-500: #BA39E5;
  --brand-600: #A91DD8;
  --brand-700: #8D18B4;
  --brand-800: #711390;
  --brand-900: #531268;
  --brand-950: #340B41;
  --brand: #e2acf4;
  --brand-ink: #000000;
}

Colors that work with #e2acf4

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#E1C0ED
Hairlines and dividers
Muted text#874B9B
Captions on the surface
Accent#66B913
Second voice, not a rival
Dark variant#580F71
Hover, pressed, headers
Light variant#F7E8FC
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 #e2acf4

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#BEF4AC
Analogous left#BEACF4
Analogous right#F4ACE2
Split-complement 1#E2F4AC
Split-complement 2#ACF4BE
Triadic 1#F4E2AC
Triadic 2#ACF4E2
Tetradic#F4BEAC

RGB percentages

Red88.6%
Green67.5%
Blue95.7%

CMYK percentages

Cyan7.4%
Magenta29.5%
Yellow0.0%
Key (black)4.3%

Color previews

#e2acf4 text on a black background

contrast 11.44:1

Card sample

#e2acf4 text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2acf4

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.

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

#e2acf4, answered

What color is #e2acf4?

#e2acf4 is a light electric violet, closest to Plum (ΔE2000 4.5). It sits at 285° on the hue wheel with 77% saturation and 82% lightness, which reads as cool.

What is the RGB value of #e2acf4?

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

Is #e2acf4 a light or a dark color?

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

Should I use black or white text on #e2acf4?

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

What is the complementary color of #e2acf4?

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

What colors go well with #e2acf4?

For interface work: #F9F4FA as the surface, #E1C0ED for borders, #874B9B for secondary text, #66B913 as an accent and #580F71 for hover and pressed states. For a palette, the analogous pair #BEACF4 and #F4ACE2 stays calm, while #BEF4AC is the loudest partner.

What is #e2acf4 in CMYK for printing?

cmyk(7%, 30%, 0%, 4%). 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 #e2acf4 warm or cool?

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

Work with #e2acf4 in the Color Lab