Skip to content

#df91ed

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

RGB
223, 145, 237
HSL
291°, 72%, 75%
CMYK
6, 39, 0, 7
Luminance
0.4205

At a glance

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

Hex
#df91ed
Hue
291°
magenta / pink
Saturation
72%
vivid
Lightness
75%
light
Brightness
93%
HSV value
Perceived
72%
weighted brightness
Luminance
0.4205
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
9.41:1
Closest name
Violet
ΔE2000 4
Where it sits
Hue291° of 360°
Saturation72%
Lightness75%
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#df91ed
RGBrgb(223, 145, 237)
HSLhsl(291, 72%, 75%)
CMYKcmyk(6%, 39%, 0%, 7%)
LABlab(70.9 44.2 -34.5)
LCHlch(70.9 56.0 322.0)
OKLCHoklch(0.767 0.151 321.3)
Decimal14651885
Display P3color(display-p3 0.875 0.569 0.929)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df91ed on white: 2.23:1
AA ✗ fail · AA-large · AAA
Aa
#df91ed on black: 9.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #86A8F0
deuteranopia · #9AB1EA
tritanopia · #E19CB4

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df91ed 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
#F6E7F8
#ECC9F3
#df91ed
#D56EE7
#C73EDF
#B822D2
#991DAF
#7A178C
#591566
#380D40
Base = 300Lightest = 50 · #FAF3FCDarkest = 950 · #380D40
:root {
  --brand-50: #FAF3FC;
  --brand-100: #F6E7F8;
  --brand-200: #ECC9F3;
  --brand-300: #df91ed;
  --brand-400: #D56EE7;
  --brand-500: #C73EDF;
  --brand-600: #B822D2;
  --brand-700: #991DAF;
  --brand-800: #7A178C;
  --brand-900: #591566;
  --brand-950: #380D40;
  --brand: #df91ed;
  --brand-ink: #000000;
}

Colors that work with #df91ed

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#E6C0ED
Hairlines and dividers
Muted text#8F4B9B
Captions on the surface
Accent#56B418
Second voice, not a rival
Dark variant#60126E
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 #df91ed

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#9FED91
Analogous left#B191ED
Analogous right#ED91CD
Split-complement 1#CDED91
Split-complement 2#91EDB1
Triadic 1#EDDF91
Triadic 2#91EDDF
Tetradic#EDB191

RGB percentages

Red87.5%
Green56.9%
Blue92.9%

CMYK percentages

Cyan5.9%
Magenta38.8%
Yellow0.0%
Key (black)7.1%

Color previews

#df91ed text on a black background

contrast 9.41:1

Card sample

#df91ed text on a white background

contrast 2.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df91ed

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.

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

#df91ed, answered

What color is #df91ed?

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

What is the RGB value of #df91ed?

rgb(223, 145, 237) — 223 red, 145 green and 237 blue out of 255, or 87.5% / 56.9% / 92.9% by channel.

Is #df91ed a light or a dark color?

It is a mid-tone. Relative luminance is 0.4205 and perceived brightness is 72%, so black text on it reaches 9.41:1.

Should I use black or white text on #df91ed?

Black. It scores 9.41:1 against #df91ed, versus 2.23:1 for white — AAA at any size.

What is the complementary color of #df91ed?

#9FED91 sits directly opposite on the wheel. Softer options are the split-complements #CDED91 and #91EDB1, which give the same contrast with far less vibration.

What colors go well with #df91ed?

For interface work: #F9F4FA as the surface, #E6C0ED for borders, #8F4B9B for secondary text, #56B418 as an accent and #60126E for hover and pressed states. For a palette, the analogous pair #B191ED and #ED91CD stays calm, while #9FED91 is the loudest partner.

What is #df91ed in CMYK for printing?

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

Is #df91ed 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 #ED91D9; nudged cooler, #BD90EE.

Work with #df91ed in the Color Lab