Skip to content

#df9ffa

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

RGB
223, 159, 250
HSL
282°, 90%, 80%
CMYK
11, 36, 0, 2
Luminance
0.4739

At a glance

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

Hex
#df9ffa
Hue
282°
violet
Saturation
90%
electric
Lightness
80%
light
Brightness
98%
HSV value
Perceived
75%
weighted brightness
Luminance
0.4739
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
10.48:1
Closest name
Plum
ΔE2000 6.2
Where it sits
Hue282° of 360°
Saturation90%
Lightness80%
Temperature
Warm ← → Cool60% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#df9ffa
RGBrgb(223, 159, 250)
HSLhsl(282, 90%, 80%)
CMYKcmyk(11%, 36%, 0%, 2%)
LABlab(74.4 39.3 -36.1)
LCHlch(74.4 53.4 317.4)
OKLCHoklch(0.795 0.142 315.5)
Decimal14655482
Display P3color(display-p3 0.875 0.624 0.980)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df9ffa on white: 2.00:1
AA ✗ fail · AA-large · AAA
Aa
#df9ffa on black: 10.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #91B3FD
deuteranopia · #A0B9F7
tritanopia · #DEABC1

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df9ffa 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.

#FAF2FD
#F4E5FB
#E9C3F8
#df9ffa
#CA5FF7
#B82AF4
#A70CE9
#8B0AC2
#6F089B
#520A70
#330746
Base = 300Lightest = 50 · #FAF2FDDarkest = 950 · #330746
:root {
  --brand-50: #FAF2FD;
  --brand-100: #F4E5FB;
  --brand-200: #E9C3F8;
  --brand-300: #df9ffa;
  --brand-400: #CA5FF7;
  --brand-500: #B82AF4;
  --brand-600: #A70CE9;
  --brand-700: #8B0AC2;
  --brand-800: #6F089B;
  --brand-900: #520A70;
  --brand-950: #330746;
  --brand: #df9ffa;
  --brand-ink: #000000;
}

Colors that work with #df9ffa

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#DFC0ED
Hairlines and dividers
Muted text#834B9B
Captions on the surface
Accent#6FC606
Second voice, not a rival
Dark variant#570679
Hover, pressed, headers
Light variant#F7E7FE
Selected rows, tints
Dark surface#1F1424
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 #df9ffa

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#BAFA9F
Analogous left#B29FFA
Analogous right#FA9FE8
Split-complement 1#E8FA9F
Split-complement 2#9FFAB2
Triadic 1#FADF9F
Triadic 2#9FFADF
Tetradic#FAB29F

RGB percentages

Red87.5%
Green62.4%
Blue98.0%

CMYK percentages

Cyan10.8%
Magenta36.4%
Yellow0.0%
Key (black)2.0%

Color previews

#df9ffa text on a black background

contrast 10.48:1

Card sample

#df9ffa text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9ffa

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.

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

#df9ffa, answered

What color is #df9ffa?

#df9ffa is a light electric violet, closest to Plum (ΔE2000 6.2). It sits at 282° on the hue wheel with 90% saturation and 80% lightness, which reads as cool.

What is the RGB value of #df9ffa?

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

Is #df9ffa a light or a dark color?

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

Should I use black or white text on #df9ffa?

Black. It scores 10.48:1 against #df9ffa, versus 2.00:1 for white — AAA at any size.

What is the complementary color of #df9ffa?

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

What colors go well with #df9ffa?

For interface work: #F9F4FA as the surface, #DFC0ED for borders, #834B9B for secondary text, #6FC606 as an accent and #570679 for hover and pressed states. For a palette, the analogous pair #B29FFA and #FA9FE8 stays calm, while #BAFA9F is the loudest partner.

What is #df9ffa in CMYK for printing?

cmyk(11%, 36%, 0%, 2%). 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 #df9ffa warm or cool?

Cool — it scores 60 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FA9FF4; nudged cooler, #BD9EFB.

Work with #df9ffa in the Color Lab