Skip to content

#df9eef

a light, vivid violet · neutral · closest name: Plum

RGB
223, 158, 239
HSL
288°, 72%, 78%
CMYK
7, 34, 0, 6
Luminance
0.4637

At a glance

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

Hex
#df9eef
Hue
288°
violet
Saturation
72%
vivid
Lightness
78%
light
Brightness
94%
HSV value
Perceived
74%
weighted brightness
Luminance
0.4637
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
10.27:1
Closest name
Plum
ΔE2000 4.1
Where it sits
Hue288° of 360°
Saturation72%
Lightness78%
Temperature
Warm ← → Cool57% 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#df9eef
RGBrgb(223, 158, 239)
HSLhsl(288, 72%, 78%)
CMYKcmyk(7%, 34%, 0%, 6%)
LABlab(73.8 37.6 -31.2)
LCHlch(73.8 48.9 320.4)
OKLCHoklch(0.789 0.131 319.5)
Decimal14655215
Display P3color(display-p3 0.875 0.620 0.937)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df9eef on white: 2.04:1
AA ✗ fail · AA-large · AAA
Aa
#df9eef on black: 10.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #94B1F2
deuteranopia · #A3B8EC
tritanopia · #E0A7BC

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df9eef 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
#F5E7F8
#EAC9F3
#df9eef
#CF6FE7
#BF3EDF
#AF23D2
#921DAF
#75178C
#561566
#350D3F
Base = 300Lightest = 50 · #FAF3FCDarkest = 950 · #350D3F
:root {
  --brand-50: #FAF3FC;
  --brand-100: #F5E7F8;
  --brand-200: #EAC9F3;
  --brand-300: #df9eef;
  --brand-400: #CF6FE7;
  --brand-500: #BF3EDF;
  --brand-600: #AF23D2;
  --brand-700: #921DAF;
  --brand-800: #75178C;
  --brand-900: #561566;
  --brand-950: #350D3F;
  --brand: #df9eef;
  --brand-ink: #000000;
}

Colors that work with #df9eef

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#E4C0ED
Hairlines and dividers
Muted text#8B4B9B
Captions on the surface
Accent#5EB319
Second voice, not a rival
Dark variant#5B126D
Hover, pressed, headers
Light variant#F8E9FB
Selected rows, tints
Dark surface#211424
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 #df9eef

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#AEEF9E
Analogous left#B69EEF
Analogous right#EF9ED6
Split-complement 1#D6EF9E
Split-complement 2#9EEFB6
Triadic 1#EFDF9E
Triadic 2#9EEFDF
Tetradic#EFB69E

RGB percentages

Red87.5%
Green62.0%
Blue93.7%

CMYK percentages

Cyan6.7%
Magenta33.9%
Yellow0.0%
Key (black)6.3%

Color previews

#df9eef text on a black background

contrast 10.27:1

Card sample

#df9eef text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9eef

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.

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

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

#df9eef, answered

What color is #df9eef?

#df9eef is a light vivid violet, closest to Plum (ΔE2000 4.1). It sits at 288° on the hue wheel with 72% saturation and 78% lightness, which reads as neutral.

What is the RGB value of #df9eef?

rgb(223, 158, 239) — 223 red, 158 green and 239 blue out of 255, or 87.5% / 62% / 93.7% by channel.

Is #df9eef a light or a dark color?

It is a mid-tone. Relative luminance is 0.4637 and perceived brightness is 74%, so black text on it reaches 10.27:1.

Should I use black or white text on #df9eef?

Black. It scores 10.27:1 against #df9eef, versus 2.04:1 for white — AAA at any size.

What is the complementary color of #df9eef?

#AEEF9E sits directly opposite on the wheel. Softer options are the split-complements #D6EF9E and #9EEFB6, which give the same contrast with far less vibration.

What colors go well with #df9eef?

For interface work: #F9F4FA as the surface, #E4C0ED for borders, #8B4B9B for secondary text, #5EB319 as an accent and #5B126D for hover and pressed states. For a palette, the analogous pair #B69EEF and #EF9ED6 stays calm, while #AEEF9E is the loudest partner.

What is #df9eef in CMYK for printing?

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

Is #df9eef warm or cool?

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

Work with #df9eef in the Color Lab