Skip to content

#df5bfe

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

RGB
223, 91, 254
HSL
289°, 99%, 68%
CMYK
12, 64, 0, 0
Luminance
0.3033

At a glance

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

Hex
#df5bfe
Hue
289°
violet
Saturation
99%
electric
Lightness
68%
light
Brightness
100%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3033
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.07:1
Closest name
Magenta
ΔE2000 5.9
Where it sits
Hue289° of 360°
Saturation99%
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#df5bfe
RGBrgb(223, 91, 254)
HSLhsl(289, 99%, 68%)
CMYKcmyk(12%, 64%, 0%, 0%)
LABlab(61.9 73.2 -58.0)
LCHlch(61.9 93.3 321.6)
OKLCHoklch(0.704 0.249 319.5)
Decimal14638078
Display P3color(display-p3 0.875 0.357 0.996)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df5bfe on white: 2.97:1
AA ✗ fail · AA-large · AAA
Aa
#df5bfe on black: 7.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #268DFF
deuteranopia · #679AFA
tritanopia · #DF77A5

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df5bfe 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
#F0C0FB
#E98FFE
#df5bfe
#D420FE
#C501F3
#A401CB
#8401A2
#600675
#3C0349
Base = 400Lightest = 50 · #FBF1FEDarkest = 950 · #3C0349
:root {
  --brand-50: #FBF1FE;
  --brand-100: #F7E3FC;
  --brand-200: #F0C0FB;
  --brand-300: #E98FFE;
  --brand-400: #df5bfe;
  --brand-500: #D420FE;
  --brand-600: #C501F3;
  --brand-700: #A401CB;
  --brand-800: #8401A2;
  --brand-900: #600675;
  --brand-950: #3C0349;
  --brand: #df5bfe;
  --brand-ink: #000000;
}

Colors that work with #df5bfe

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#59CC00
Second voice, not a rival
Dark variant#67017F
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 #df5bfe

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#7AFE5B
Analogous left#8D5BFE
Analogous right#FE5BCB
Split-complement 1#CBFE5B
Split-complement 2#5BFE8D
Triadic 1#FEDF5B
Triadic 2#5BFEDF
Tetradic#FE8D5B

RGB percentages

Red87.5%
Green35.7%
Blue99.6%

CMYK percentages

Cyan12.2%
Magenta64.2%
Yellow0.0%
Key (black)0.4%

Color previews

#df5bfe text on a black background

contrast 7.07:1

Card sample

#df5bfe text on a white background

contrast 2.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df5bfe

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.

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

#df5bfe, answered

What color is #df5bfe?

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

What is the RGB value of #df5bfe?

rgb(223, 91, 254) — 223 red, 91 green and 254 blue out of 255, or 87.5% / 35.7% / 99.6% by channel.

Is #df5bfe a light or a dark color?

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

Should I use black or white text on #df5bfe?

Black. It scores 7.07:1 against #df5bfe, versus 2.97:1 for white — AAA at any size.

What is the complementary color of #df5bfe?

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

What colors go well with #df5bfe?

For interface work: #F9F4FA as the surface, #E4C0ED for borders, #8C4B9B for secondary text, #59CC00 as an accent and #67017F for hover and pressed states. For a palette, the analogous pair #8D5BFE and #FE5BCB stays calm, while #7AFE5B is the loudest partner.

What is #df5bfe in CMYK for printing?

cmyk(12%, 64%, 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 #df5bfe 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 #FE5BE1; nudged cooler, #A35AFF.

Work with #df5bfe in the Color Lab