Skip to content

#df9cf1

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

RGB
223, 156, 241
HSL
287°, 75%, 78%
CMYK
8, 35, 0, 6
Luminance
0.4582

At a glance

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

Hex
#df9cf1
Hue
287°
violet
Saturation
75%
electric
Lightness
78%
light
Brightness
95%
HSV value
Perceived
74%
weighted brightness
Luminance
0.4582
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
10.16:1
Closest name
Plum
ΔE2000 4.8
Where it sits
Hue287° of 360°
Saturation75%
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#df9cf1
RGBrgb(223, 156, 241)
HSLhsl(287, 75%, 78%)
CMYKcmyk(8%, 35%, 0%, 6%)
LABlab(73.4 39.1 -32.8)
LCHlch(73.4 51.0 320.0)
OKLCHoklch(0.787 0.137 319.0)
Decimal14654705
Display P3color(display-p3 0.875 0.612 0.945)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df9cf1 on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#df9cf1 on black: 10.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #91B0F4
deuteranopia · #A1B7EE
tritanopia · #E0A6BC

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df9cf1 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
#F5E7F9
#EBC8F4
#df9cf1
#CF6CEA
#BF3AE3
#AF1ED6
#9219B3
#75148F
#561368
#360C41
Base = 300Lightest = 50 · #FAF3FCDarkest = 950 · #360C41
:root {
  --brand-50: #FAF3FC;
  --brand-100: #F5E7F9;
  --brand-200: #EBC8F4;
  --brand-300: #df9cf1;
  --brand-400: #CF6CEA;
  --brand-500: #BF3AE3;
  --brand-600: #AF1ED6;
  --brand-700: #9219B3;
  --brand-800: #75148F;
  --brand-900: #561368;
  --brand-950: #360C41;
  --brand: #df9cf1;
  --brand-ink: #000000;
}

Colors that work with #df9cf1

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#E3C0ED
Hairlines and dividers
Muted text#8A4B9B
Captions on the surface
Accent#60B616
Second voice, not a rival
Dark variant#5B1070
Hover, pressed, headers
Light variant#F8E9FC
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 #df9cf1

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#AEF19C
Analogous left#B49CF1
Analogous right#F19CD8
Split-complement 1#D8F19C
Split-complement 2#9CF1B4
Triadic 1#F1DF9C
Triadic 2#9CF1DF
Tetradic#F1B49C

RGB percentages

Red87.5%
Green61.2%
Blue94.5%

CMYK percentages

Cyan7.5%
Magenta35.3%
Yellow0.0%
Key (black)5.5%

Color previews

#df9cf1 text on a black background

contrast 10.16:1

Card sample

#df9cf1 text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9cf1

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.

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

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

#df9cf1, answered

What color is #df9cf1?

#df9cf1 is a light electric violet, closest to Plum (ΔE2000 4.8). It sits at 287° on the hue wheel with 75% saturation and 78% lightness, which reads as neutral.

What is the RGB value of #df9cf1?

rgb(223, 156, 241) — 223 red, 156 green and 241 blue out of 255, or 87.5% / 61.2% / 94.5% by channel.

Is #df9cf1 a light or a dark color?

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

Should I use black or white text on #df9cf1?

Black. It scores 10.16:1 against #df9cf1, versus 2.07:1 for white — AAA at any size.

What is the complementary color of #df9cf1?

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

What colors go well with #df9cf1?

For interface work: #F9F4FA as the surface, #E3C0ED for borders, #8A4B9B for secondary text, #60B616 as an accent and #5B1070 for hover and pressed states. For a palette, the analogous pair #B49CF1 and #F19CD8 stays calm, while #AEF19C is the loudest partner.

What is #df9cf1 in CMYK for printing?

cmyk(8%, 35%, 0%, 6%). 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 #df9cf1 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 #F19CE4; nudged cooler, #C09BF2.

Work with #df9cf1 in the Color Lab