Skip to content

#df8aec

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

RGB
223, 138, 236
HSL
292°, 72%, 73%
CMYK
6, 42, 0, 8
Luminance
0.3992

At a glance

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

Hex
#df8aec
Hue
292°
magenta / pink
Saturation
72%
vivid
Lightness
73%
light
Brightness
93%
HSV value
Perceived
71%
weighted brightness
Luminance
0.3992
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
8.98:1
Closest name
Violet
ΔE2000 2.9
Where it sits
Hue292° of 360°
Saturation72%
Lightness73%
Temperature
Warm ← → Cool54% 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#df8aec
RGBrgb(223, 138, 236)
HSLhsl(292, 72%, 73%)
CMYKcmyk(6%, 42%, 0%, 8%)
LABlab(69.4 47.6 -36.3)
LCHlch(69.4 59.9 322.7)
OKLCHoklch(0.756 0.162 322.1)
Decimal14650092
Display P3color(display-p3 0.875 0.541 0.925)

Copy-ready code

/* CSS */
color: #df8aec;
background-color: #df8aec;
/* Tailwind (arbitrary) */
class="text-[#df8aec] bg-[#df8aec]"
/* SCSS */
$brand: #df8aec;
/* SwiftUI */
Color(red: 0.875, green: 0.541, blue: 0.925)
/* Android */
Color.parseColor("#df8aec")
/* Flutter */
Color(0xFFDF8AEC)
/* Python / OpenCV (BGR) */
(236, 138, 223)

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

Accessibility — WCAG contrast

Aa
#df8aec on white: 2.34:1
AA ✗ fail · AA-large · AAA
Aa
#df8aec on black: 8.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7EA3F0
deuteranopia · #95ADE9
tritanopia · #E295B0

Color scale — 50 to 950

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

#FBF3FC
#F6E7F8
#EDC9F3
#df8aec
#D76EE8
#CA3EE0
#BB22D3
#9C1CB0
#7D178C
#5B1566
#390D40
Base = 300Lightest = 50 · #FBF3FCDarkest = 950 · #390D40
:root {
  --brand-50: #FBF3FC;
  --brand-100: #F6E7F8;
  --brand-200: #EDC9F3;
  --brand-300: #df8aec;
  --brand-400: #D76EE8;
  --brand-500: #CA3EE0;
  --brand-600: #BB22D3;
  --brand-700: #9C1CB0;
  --brand-800: #7D178C;
  --brand-900: #5B1566;
  --brand-950: #390D40;
  --brand: #df8aec;
  --brand-ink: #000000;
}

Colors that work with #df8aec

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#54B418
Second voice, not a rival
Dark variant#61126E
Hover, pressed, headers
Light variant#F9E9FB
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 #df8aec

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#97EC8A
Analogous left#AE8AEC
Analogous right#EC8AC8
Split-complement 1#C8EC8A
Split-complement 2#8AECAE
Triadic 1#ECDF8A
Triadic 2#8AECDF
Tetradic#ECAE8A

RGB percentages

Red87.5%
Green54.1%
Blue92.5%

CMYK percentages

Cyan5.5%
Magenta41.5%
Yellow0.0%
Key (black)7.5%

Color previews

#df8aec text on a black background

contrast 8.98:1

Card sample

#df8aec text on a white background

contrast 2.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 138, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 138, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #df8aec;
background: linear-gradient(135deg, #df8aec, #EC8AB8);

Monochromatic scale

Palettes built from #df8aec

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.

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

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

#df8aec, answered

What color is #df8aec?

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

What is the RGB value of #df8aec?

rgb(223, 138, 236) — 223 red, 138 green and 236 blue out of 255, or 87.5% / 54.1% / 92.5% by channel.

Is #df8aec a light or a dark color?

It is a mid-tone. Relative luminance is 0.3992 and perceived brightness is 71%, so black text on it reaches 8.98:1.

Should I use black or white text on #df8aec?

Black. It scores 8.98:1 against #df8aec, versus 2.34:1 for white — AAA at any size.

What is the complementary color of #df8aec?

#97EC8A sits directly opposite on the wheel. Softer options are the split-complements #C8EC8A and #8AECAE, which give the same contrast with far less vibration.

What colors go well with #df8aec?

For interface work: #FAF4FA as the surface, #E7C0ED for borders, #904B9B for secondary text, #54B418 as an accent and #61126E for hover and pressed states. For a palette, the analogous pair #AE8AEC and #EC8AC8 stays calm, while #97EC8A is the loudest partner.

What is #df8aec in CMYK for printing?

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

Is #df8aec warm or cool?

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

Work with #df8aec in the Color Lab