Skip to content

#df5eff

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

RGB
223, 94, 255
HSL
288°, 100%, 68%
CMYK
13, 63, 0, 0
Luminance
0.3091

At a glance

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

Hex
#df5eff
Hue
288°
violet
Saturation
100%
electric
Lightness
68%
light
Brightness
100%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3091
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.18:1
Closest name
Magenta
ΔE2000 6.3
Where it sits
Hue288° of 360°
Saturation100%
Lightness68%
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#df5eff
RGBrgb(223, 94, 255)
HSLhsl(288, 100%, 68%)
CMYKcmyk(13%, 63%, 0%, 0%)
LABlab(62.4 72.1 -57.7)
LCHlch(62.4 92.4 321.3)
OKLCHoklch(0.707 0.246 319.1)
Decimal14638847
Display P3color(display-p3 0.875 0.369 1.000)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df5eff on white: 2.92:1
AA ✗ fail · AA-large · AAA
Aa
#df5eff on black: 7.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #2C8EFF
deuteranopia · #689BFB
tritanopia · #DF7AA7

Color scale — 50 to 950

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

#FBF1FE
#F7E3FC
#F0C0FC
#E98FFF
#df5eff
#D21FFF
#C400F5
#A400CC
#8300A3
#5F0576
#3B0349
Base = 400Lightest = 50 · #FBF1FEDarkest = 950 · #3B0349
:root {
  --brand-50: #FBF1FE;
  --brand-100: #F7E3FC;
  --brand-200: #F0C0FC;
  --brand-300: #E98FFF;
  --brand-400: #df5eff;
  --brand-500: #D21FFF;
  --brand-600: #C400F5;
  --brand-700: #A400CC;
  --brand-800: #8300A3;
  --brand-900: #5F0576;
  --brand-950: #3B0349;
  --brand: #df5eff;
  --brand-ink: #000000;
}

Colors that work with #df5eff

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#5BCC00
Second voice, not a rival
Dark variant#660080
Hover, pressed, headers
Light variant#FAE5FF
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 #df5eff

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#7EFF5E
Analogous left#8E5EFF
Analogous right#FF5ECE
Split-complement 1#CEFF5E
Split-complement 2#5EFF8E
Triadic 1#FFDF5E
Triadic 2#5EFFDF
Tetradic#FF8E5E

RGB percentages

Red87.5%
Green36.9%
Blue100.0%

CMYK percentages

Cyan12.5%
Magenta63.1%
Yellow0.0%
Key (black)0.0%

Color previews

#df5eff text on a black background

contrast 7.18:1

Card sample

#df5eff text on a white background

contrast 2.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df5eff

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.

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

#df5eff, answered

What color is #df5eff?

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

What is the RGB value of #df5eff?

rgb(223, 94, 255) — 223 red, 94 green and 255 blue out of 255, or 87.5% / 36.9% / 100% by channel.

Is #df5eff a light or a dark color?

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

Should I use black or white text on #df5eff?

Black. It scores 7.18:1 against #df5eff, versus 2.92:1 for white — AAA at any size.

What is the complementary color of #df5eff?

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

What colors go well with #df5eff?

For interface work: #F9F4FA as the surface, #E4C0ED for borders, #8B4B9B for secondary text, #5BCC00 as an accent and #660080 for hover and pressed states. For a palette, the analogous pair #8E5EFF and #FF5ECE stays calm, while #7EFF5E is the loudest partner.

What is #df5eff in CMYK for printing?

cmyk(13%, 63%, 0%, 0%). 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 #df5eff 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 #FF5EE4; nudged cooler, #A45EFF.

Work with #df5eff in the Color Lab