Skip to content

#df74fc

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

RGB
223, 116, 252
HSL
287°, 96%, 72%
CMYK
12, 54, 0, 1
Luminance
0.3521

At a glance

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

Hex
#df74fc
Hue
287°
violet
Saturation
96%
electric
Lightness
72%
light
Brightness
99%
HSV value
Perceived
68%
weighted brightness
Luminance
0.3521
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
8.04:1
Closest name
Violet
ΔE2000 5.5
Where it sits
Hue287° of 360°
Saturation96%
Lightness72%
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#df74fc
RGBrgb(223, 116, 252)
HSLhsl(287, 96%, 72%)
CMYKcmyk(12%, 54%, 0%, 1%)
LABlab(65.9 61.7 -50.6)
LCHlch(65.9 79.8 320.7)
OKLCHoklch(0.732 0.213 318.7)
Decimal14644476
Display P3color(display-p3 0.875 0.455 0.988)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df74fc on white: 2.61:1
AA ✗ fail · AA-large · AAA
Aa
#df74fc on black: 8.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5899FF
deuteranopia · #7BA4F8
tritanopia · #DF89AD

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df74fc 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
#EEC1FA
#E691FD
#df74fc
#CC23FA
#BE05F0
#9E04C8
#7E03A0
#5C0773
#3A0548
Base = 400Lightest = 50 · #FBF1FDDarkest = 950 · #3A0548
:root {
  --brand-50: #FBF1FD;
  --brand-100: #F7E4FC;
  --brand-200: #EEC1FA;
  --brand-300: #E691FD;
  --brand-400: #df74fc;
  --brand-500: #CC23FA;
  --brand-600: #BE05F0;
  --brand-700: #9E04C8;
  --brand-800: #7E03A0;
  --brand-900: #5C0773;
  --brand-950: #3A0548;
  --brand: #df74fc;
  --brand-ink: #000000;
}

Colors that work with #df74fc

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#E3C0ED
Hairlines and dividers
Muted text#8A4B9B
Captions on the surface
Accent#5FCC00
Second voice, not a rival
Dark variant#63037D
Hover, pressed, headers
Light variant#F9E6FE
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 #df74fc

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#91FC74
Analogous left#9B74FC
Analogous right#FC74D5
Split-complement 1#D5FC74
Split-complement 2#74FC9B
Triadic 1#FCDF74
Triadic 2#74FCDF
Tetradic#FC9B74

RGB percentages

Red87.5%
Green45.5%
Blue98.8%

CMYK percentages

Cyan11.5%
Magenta54.0%
Yellow0.0%
Key (black)1.2%

Color previews

#df74fc text on a black background

contrast 8.04:1

Card sample

#df74fc text on a white background

contrast 2.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df74fc

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.

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

#df74fc, answered

What color is #df74fc?

#df74fc is a light electric violet, closest to Violet (ΔE2000 5.5). It sits at 287° on the hue wheel with 96% saturation and 72% lightness, which reads as neutral.

What is the RGB value of #df74fc?

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

Is #df74fc a light or a dark color?

It is a mid-tone. Relative luminance is 0.3521 and perceived brightness is 68%, so black text on it reaches 8.04:1.

Should I use black or white text on #df74fc?

Black. It scores 8.04:1 against #df74fc, versus 2.61:1 for white — AAA at any size.

What is the complementary color of #df74fc?

#91FC74 sits directly opposite on the wheel. Softer options are the split-complements #D5FC74 and #74FC9B, which give the same contrast with far less vibration.

What colors go well with #df74fc?

For interface work: #F9F4FA as the surface, #E3C0ED for borders, #8A4B9B for secondary text, #5FCC00 as an accent and #63037D for hover and pressed states. For a palette, the analogous pair #9B74FC and #FC74D5 stays calm, while #91FC74 is the loudest partner.

What is #df74fc in CMYK for printing?

cmyk(12%, 54%, 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 #df74fc 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 #FC74E7; nudged cooler, #AD73FD.

Work with #df74fc in the Color Lab