Skip to content

#df82fc

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

RGB
223, 130, 252
HSL
286°, 95%, 75%
CMYK
12, 48, 0, 1
Luminance
0.3868

At a glance

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

Hex
#df82fc
Hue
286°
violet
Saturation
95%
electric
Lightness
75%
light
Brightness
99%
HSV value
Perceived
70%
weighted brightness
Luminance
0.3868
WCAG relative
Temperature
Neutral
58/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
8.74:1
Closest name
Violet
ΔE2000 4.3
Where it sits
Hue286° of 360°
Saturation95%
Lightness75%
Temperature
Warm ← → Cool58% 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#df82fc
RGBrgb(223, 130, 252)
HSLhsl(286, 95%, 75%)
CMYKcmyk(12%, 48%, 0%, 1%)
LABlab(68.5 54.8 -46.5)
LCHlch(68.5 71.8 319.7)
OKLCHoklch(0.751 0.192 317.7)
Decimal14648060
Display P3color(display-p3 0.875 0.510 0.988)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df82fc on white: 2.40:1
AA ✗ fail · AA-large · AAA
Aa
#df82fc on black: 8.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6BA1FF
deuteranopia · #87AAF9
tritanopia · #DF93B4

Color scale — 50 to 950

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

#FAF1FD
#F6E4FC
#EDC2FA
#df82fc
#D55BFB
#C724FA
#B706EF
#9905C7
#7A049F
#590873
#380548
Base = 300Lightest = 50 · #FAF1FDDarkest = 950 · #380548
:root {
  --brand-50: #FAF1FD;
  --brand-100: #F6E4FC;
  --brand-200: #EDC2FA;
  --brand-300: #df82fc;
  --brand-400: #D55BFB;
  --brand-500: #C724FA;
  --brand-600: #B706EF;
  --brand-700: #9905C7;
  --brand-800: #7A049F;
  --brand-900: #590873;
  --brand-950: #380548;
  --brand: #df82fc;
  --brand-ink: #000000;
}

Colors that work with #df82fc

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#E2C0ED
Hairlines and dividers
Muted text#884B9B
Captions on the surface
Accent#64CC00
Second voice, not a rival
Dark variant#60037D
Hover, pressed, headers
Light variant#F9E6FE
Selected rows, tints
Dark surface#201424
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 #df82fc

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#9FFC82
Analogous left#A282FC
Analogous right#FC82DC
Split-complement 1#DCFC82
Split-complement 2#82FCA2
Triadic 1#FCDF82
Triadic 2#82FCDF
Tetradic#FCA282

RGB percentages

Red87.5%
Green51.0%
Blue98.8%

CMYK percentages

Cyan11.5%
Magenta48.4%
Yellow0.0%
Key (black)1.2%

Color previews

#df82fc text on a black background

contrast 8.74:1

Card sample

#df82fc text on a white background

contrast 2.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df82fc

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.

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

#df82fc, answered

What color is #df82fc?

#df82fc is a light electric violet, closest to Violet (ΔE2000 4.3). It sits at 286° on the hue wheel with 95% saturation and 75% lightness, which reads as neutral.

What is the RGB value of #df82fc?

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

Is #df82fc a light or a dark color?

It is a mid-tone. Relative luminance is 0.3868 and perceived brightness is 70%, so black text on it reaches 8.74:1.

Should I use black or white text on #df82fc?

Black. It scores 8.74:1 against #df82fc, versus 2.40:1 for white — AAA at any size.

What is the complementary color of #df82fc?

#9FFC82 sits directly opposite on the wheel. Softer options are the split-complements #DCFC82 and #82FCA2, which give the same contrast with far less vibration.

What colors go well with #df82fc?

For interface work: #F9F4FA as the surface, #E2C0ED for borders, #884B9B for secondary text, #64CC00 as an accent and #60037D for hover and pressed states. For a palette, the analogous pair #A282FC and #FC82DC stays calm, while #9FFC82 is the loudest partner.

What is #df82fc in CMYK for printing?

cmyk(12%, 48%, 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 #df82fc warm or cool?

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

Work with #df82fc in the Color Lab