Skip to content

#df8fea

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

RGB
223, 143, 234
HSL
293°, 68%, 74%
CMYK
5, 39, 0, 8
Luminance
0.4127

At a glance

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

Hex
#df8fea
Hue
293°
magenta / pink
Saturation
68%
vivid
Lightness
74%
light
Brightness
92%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4127
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
9.25:1
Closest name
Violet
ΔE2000 3.6
Where it sits
Hue293° of 360°
Saturation68%
Lightness74%
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#df8fea
RGBrgb(223, 143, 234)
HSLhsl(293, 68%, 74%)
CMYKcmyk(5%, 39%, 0%, 8%)
LABlab(70.4 44.6 -33.7)
LCHlch(70.4 55.9 322.9)
OKLCHoklch(0.763 0.152 322.5)
Decimal14651370
Display P3color(display-p3 0.875 0.561 0.918)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df8fea on white: 2.27:1
AA ✗ fail · AA-large · AAA
Aa
#df8fea on black: 9.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #85A6ED
deuteranopia · #99AFE7
tritanopia · #E299B2

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df8fea 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
#F6E8F8
#EDCAF2
#df8fea
#D671E4
#C942DC
#BA27CE
#9B20AC
#7C1A89
#5A1764
#380E3E
Base = 300Lightest = 50 · #FAF3FBDarkest = 950 · #380E3E
:root {
  --brand-50: #FAF3FB;
  --brand-100: #F6E8F8;
  --brand-200: #EDCAF2;
  --brand-300: #df8fea;
  --brand-400: #D671E4;
  --brand-500: #C942DC;
  --brand-600: #BA27CE;
  --brand-700: #9B20AC;
  --brand-800: #7C1A89;
  --brand-900: #5A1764;
  --brand-950: #380E3E;
  --brand: #df8fea;
  --brand-ink: #000000;
}

Colors that work with #df8fea

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#914B9B
Captions on the surface
Accent#53B01C
Second voice, not a rival
Dark variant#61146B
Hover, pressed, headers
Light variant#F9EAFB
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 #df8fea

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#9AEA8F
Analogous left#B18FEA
Analogous right#EA8FC8
Split-complement 1#C8EA8F
Split-complement 2#8FEAB1
Triadic 1#EADF8F
Triadic 2#8FEADF
Tetradic#EAB18F

RGB percentages

Red87.5%
Green56.1%
Blue91.8%

CMYK percentages

Cyan4.7%
Magenta38.9%
Yellow0.0%
Key (black)8.2%

Color previews

#df8fea text on a black background

contrast 9.25:1

Card sample

#df8fea text on a white background

contrast 2.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df8fea

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.

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

#df8fea, answered

What color is #df8fea?

#df8fea is a light vivid magenta / pink, closest to Violet (ΔE2000 3.6). It sits at 293° on the hue wheel with 68% saturation and 74% lightness, which reads as neutral.

What is the RGB value of #df8fea?

rgb(223, 143, 234) — 223 red, 143 green and 234 blue out of 255, or 87.5% / 56.1% / 91.8% by channel.

Is #df8fea a light or a dark color?

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

Should I use black or white text on #df8fea?

Black. It scores 9.25:1 against #df8fea, versus 2.27:1 for white — AAA at any size.

What is the complementary color of #df8fea?

#9AEA8F sits directly opposite on the wheel. Softer options are the split-complements #C8EA8F and #8FEAB1, which give the same contrast with far less vibration.

What colors go well with #df8fea?

For interface work: #FAF4FA as the surface, #E7C0ED for borders, #914B9B for secondary text, #53B01C as an accent and #61146B for hover and pressed states. For a palette, the analogous pair #B18FEA and #EA8FC8 stays calm, while #9AEA8F is the loudest partner.

What is #df8fea in CMYK for printing?

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

Is #df8fea 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 #EA8FD4; nudged cooler, #BE8EEB.

Work with #df8fea in the Color Lab