Skip to content

#e27df2

a light, electric magenta / pink · neutral · closest name: Violet

RGB
226, 125, 242
HSL
292°, 82%, 72%
CMYK
7, 48, 0, 5
Luminance
0.3725

At a glance

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

Hex
#e27df2
Hue
292°
magenta / pink
Saturation
82%
electric
Lightness
72%
light
Brightness
95%
HSV value
Perceived
69%
weighted brightness
Luminance
0.3725
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
8.45:1
Closest name
Violet
ΔE2000 2.9
Where it sits
Hue292° of 360°
Saturation82%
Lightness72%
Temperature
Warm ← → Cool55% 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#e27df2
RGBrgb(226, 125, 242)
HSLhsl(292, 82%, 72%)
CMYKcmyk(7%, 48%, 0%, 5%)
LABlab(67.5 56.2 -42.6)
LCHlch(67.5 70.5 322.8)
OKLCHoklch(0.743 0.191 322.0)
Decimal14843378
Display P3color(display-p3 0.886 0.490 0.949)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e27df2 on white: 2.49:1
AA ✗ fail · AA-large · AAA
Aa
#e27df2 on black: 8.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6C9DF6
deuteranopia · #8AA8EF
tritanopia · #E58CAD

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #e27df2 is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBF2FC
#F7E6F9
#EFC6F6
#E899F5
#e27df2
#D133EB
#C316DF
#A313B9
#820F94
#5F0F6B
#3B0943
Base = 400Lightest = 50 · #FBF2FCDarkest = 950 · #3B0943
:root {
  --brand-50: #FBF2FC;
  --brand-100: #F7E6F9;
  --brand-200: #EFC6F6;
  --brand-300: #E899F5;
  --brand-400: #e27df2;
  --brand-500: #D133EB;
  --brand-600: #C316DF;
  --brand-700: #A313B9;
  --brand-800: #820F94;
  --brand-900: #5F0F6B;
  --brand-950: #3B0943;
  --brand: #e27df2;
  --brand-ink: #000000;
}

Colors that work with #e27df2

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#FAF4FA
Tinted page background
Border#E7C0ED
Hairlines and dividers
Muted text#904B9B
Captions on the surface
Accent#53BE0E
Second voice, not a rival
Dark variant#660C74
Hover, pressed, headers
Light variant#FAE8FD
Selected rows, tints
Dark surface#221424
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 #e27df2

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#8DF27D
Analogous left#A87DF2
Analogous right#F27DC8
Split-complement 1#C8F27D
Split-complement 2#7DF2A8
Triadic 1#F2E27D
Triadic 2#7DF2E2
Tetradic#F2A87D

RGB percentages

Red88.6%
Green49.0%
Blue94.9%

CMYK percentages

Cyan6.6%
Magenta48.3%
Yellow0.0%
Key (black)5.1%

Color previews

#e27df2 text on a black background

contrast 8.45:1

Card sample

#e27df2 text on a white background

contrast 2.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e27df2

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.

#e27df2 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#e27df2, answered

What color is #e27df2?

#e27df2 is a light electric magenta / pink, closest to Violet (ΔE2000 2.9). It sits at 292° on the hue wheel with 82% saturation and 72% lightness, which reads as neutral.

What is the RGB value of #e27df2?

rgb(226, 125, 242) — 226 red, 125 green and 242 blue out of 255, or 88.6% / 49% / 94.9% by channel.

Is #e27df2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3725 and perceived brightness is 69%, so black text on it reaches 8.45:1.

Should I use black or white text on #e27df2?

Black. It scores 8.45:1 against #e27df2, versus 2.49:1 for white — AAA at any size.

What is the complementary color of #e27df2?

#8DF27D sits directly opposite on the wheel. Softer options are the split-complements #C8F27D and #7DF2A8, which give the same contrast with far less vibration.

What colors go well with #e27df2?

For interface work: #FAF4FA as the surface, #E7C0ED for borders, #904B9B for secondary text, #53BE0E as an accent and #660C74 for hover and pressed states. For a palette, the analogous pair #A87DF2 and #F27DC8 stays calm, while #8DF27D is the loudest partner.

What is #e27df2 in CMYK for printing?

cmyk(7%, 48%, 0%, 5%). 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 #e27df2 warm or cool?

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

Work with #e27df2 in the Color Lab