Skip to content

#df9ff3

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

RGB
223, 159, 243
HSL
286°, 78%, 79%
CMYK
8, 35, 0, 5
Luminance
0.4696

At a glance

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

Hex
#df9ff3
Hue
286°
violet
Saturation
78%
electric
Lightness
79%
light
Brightness
95%
HSV value
Perceived
75%
weighted brightness
Luminance
0.4696
WCAG relative
Temperature
Neutral
58/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
10.39:1
Closest name
Plum
ΔE2000 4.8
Where it sits
Hue286° of 360°
Saturation78%
Lightness79%
Temperature
Warm ← → Cool58% 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#df9ff3
RGBrgb(223, 159, 243)
HSLhsl(286, 78%, 79%)
CMYKcmyk(8%, 35%, 0%, 5%)
LABlab(74.2 37.9 -32.8)
LCHlch(74.2 50.1 319.2)
OKLCHoklch(0.792 0.134 317.9)
Decimal14655475
Display P3color(display-p3 0.875 0.624 0.953)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df9ff3 on white: 2.02:1
AA ✗ fail · AA-large · AAA
Aa
#df9ff3 on black: 10.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #93B2F6
deuteranopia · #A3B9F0
tritanopia · #DFA9BE

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df9ff3 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
#F5E6F9
#EAC7F5
#df9ff3
#CD69EC
#BC38E6
#AC1BDA
#9017B5
#731291
#541169
#350B42
Base = 300Lightest = 50 · #FAF3FCDarkest = 950 · #350B42
:root {
  --brand-50: #FAF3FC;
  --brand-100: #F5E6F9;
  --brand-200: #EAC7F5;
  --brand-300: #df9ff3;
  --brand-400: #CD69EC;
  --brand-500: #BC38E6;
  --brand-600: #AC1BDA;
  --brand-700: #9017B5;
  --brand-800: #731291;
  --brand-900: #541169;
  --brand-950: #350B42;
  --brand: #df9ff3;
  --brand-ink: #000000;
}

Colors that work with #df9ff3

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#E2C0ED
Hairlines and dividers
Muted text#884B9B
Captions on the surface
Accent#64B913
Second voice, not a rival
Dark variant#5A0E71
Hover, pressed, headers
Light variant#F7E8FC
Selected rows, tints
Dark surface#201424
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 #df9ff3

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#B3F39F
Analogous left#B59FF3
Analogous right#F39FDD
Split-complement 1#DDF39F
Split-complement 2#9FF3B5
Triadic 1#F3DF9F
Triadic 2#9FF3DF
Tetradic#F3B59F

RGB percentages

Red87.5%
Green62.4%
Blue95.3%

CMYK percentages

Cyan8.2%
Magenta34.6%
Yellow0.0%
Key (black)4.7%

Color previews

#df9ff3 text on a black background

contrast 10.39:1

Card sample

#df9ff3 text on a white background

contrast 2.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9ff3

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.

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

#df9ff3, answered

What color is #df9ff3?

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

What is the RGB value of #df9ff3?

rgb(223, 159, 243) — 223 red, 159 green and 243 blue out of 255, or 87.5% / 62.4% / 95.3% by channel.

Is #df9ff3 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4696 and perceived brightness is 75%, so black text on it reaches 10.39:1.

Should I use black or white text on #df9ff3?

Black. It scores 10.39:1 against #df9ff3, versus 2.02:1 for white — AAA at any size.

What is the complementary color of #df9ff3?

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

What colors go well with #df9ff3?

For interface work: #F9F4FA as the surface, #E2C0ED for borders, #884B9B for secondary text, #64B913 as an accent and #5A0E71 for hover and pressed states. For a palette, the analogous pair #B59FF3 and #F39FDD stays calm, while #B3F39F is the loudest partner.

What is #df9ff3 in CMYK for printing?

cmyk(8%, 35%, 0%, 5%). 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 #df9ff3 warm or cool?

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

Work with #df9ff3 in the Color Lab