Skip to content

#df5dfc

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

RGB
223, 93, 252
HSL
289°, 96%, 68%
CMYK
12, 63, 0, 1
Luminance
0.3054

At a glance

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

Hex
#df5dfc
Hue
289°
violet
Saturation
96%
electric
Lightness
68%
light
Brightness
99%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3054
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.11:1
Closest name
Magenta
ΔE2000 6.1
Where it sits
Hue289° of 360°
Saturation96%
Lightness68%
Temperature
Warm ← → Cool56% 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#df5dfc
RGBrgb(223, 93, 252)
HSLhsl(289, 96%, 68%)
CMYKcmyk(12%, 63%, 0%, 1%)
LABlab(62.1 72.0 -56.6)
LCHlch(62.1 91.5 321.8)
OKLCHoklch(0.705 0.245 319.9)
Decimal14638588
Display P3color(display-p3 0.875 0.365 0.988)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df5dfc on white: 2.95:1
AA ✗ fail · AA-large · AAA
Aa
#df5dfc on black: 7.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #2F8DFF
deuteranopia · #6A9BF8
tritanopia · #E078A5

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df5dfc is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBF1FD
#F7E4FC
#F0C1FA
#E991FD
#df5dfc
#D423FB
#C604F0
#A504C8
#8403A0
#600773
#3C0448
Base = 400Lightest = 50 · #FBF1FDDarkest = 950 · #3C0448
:root {
  --brand-50: #FBF1FD;
  --brand-100: #F7E4FC;
  --brand-200: #F0C1FA;
  --brand-300: #E991FD;
  --brand-400: #df5dfc;
  --brand-500: #D423FB;
  --brand-600: #C604F0;
  --brand-700: #A504C8;
  --brand-800: #8403A0;
  --brand-900: #600773;
  --brand-950: #3C0448;
  --brand: #df5dfc;
  --brand-ink: #000000;
}

Colors that work with #df5dfc

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#8C4B9B
Captions on the surface
Accent#58CC00
Second voice, not a rival
Dark variant#67027D
Hover, pressed, headers
Light variant#FAE6FF
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 #df5dfc

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#7AFC5D
Analogous left#8F5DFC
Analogous right#FC5DC9
Split-complement 1#C9FC5D
Split-complement 2#5DFC8F
Triadic 1#FCDF5D
Triadic 2#5DFCDF
Tetradic#FC8F5D

RGB percentages

Red87.5%
Green36.5%
Blue98.8%

CMYK percentages

Cyan11.5%
Magenta63.1%
Yellow0.0%
Key (black)1.2%

Color previews

#df5dfc text on a black background

contrast 7.11:1

Card sample

#df5dfc text on a white background

contrast 2.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df5dfc

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.

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

#df5dfc, answered

What color is #df5dfc?

#df5dfc is a light electric violet, closest to Magenta (ΔE2000 6.1). It sits at 289° on the hue wheel with 96% saturation and 68% lightness, which reads as neutral.

What is the RGB value of #df5dfc?

rgb(223, 93, 252) — 223 red, 93 green and 252 blue out of 255, or 87.5% / 36.5% / 98.8% by channel.

Is #df5dfc a light or a dark color?

It is a mid-tone. Relative luminance is 0.3054 and perceived brightness is 65%, so black text on it reaches 7.11:1.

Should I use black or white text on #df5dfc?

Black. It scores 7.11:1 against #df5dfc, versus 2.95:1 for white — AAA at any size.

What is the complementary color of #df5dfc?

#7AFC5D sits directly opposite on the wheel. Softer options are the split-complements #C9FC5D and #5DFC8F, which give the same contrast with far less vibration.

What colors go well with #df5dfc?

For interface work: #F9F4FA as the surface, #E4C0ED for borders, #8C4B9B for secondary text, #58CC00 as an accent and #67027D for hover and pressed states. For a palette, the analogous pair #8F5DFC and #FC5DC9 stays calm, while #7AFC5D is the loudest partner.

What is #df5dfc in CMYK for printing?

cmyk(12%, 63%, 0%, 1%). 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 #df5dfc warm or cool?

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

Work with #df5dfc in the Color Lab