Skip to content

#df85fc

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

RGB
223, 133, 252
HSL
285°, 95%, 76%
CMYK
12, 47, 0, 1
Luminance
0.3949

At a glance

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

Hex
#df85fc
Hue
285°
violet
Saturation
95%
electric
Lightness
76%
light
Brightness
99%
HSV value
Perceived
71%
weighted brightness
Luminance
0.3949
WCAG relative
Temperature
Cool
58/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
8.90:1
Closest name
Violet
ΔE2000 4.2
Where it sits
Hue285° of 360°
Saturation95%
Lightness76%
Temperature
Warm ← → Cool58% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#df85fc
RGBrgb(223, 133, 252)
HSLhsl(285, 95%, 76%)
CMYKcmyk(12%, 47%, 0%, 1%)
LABlab(69.1 53.3 -45.5)
LCHlch(69.1 70.1 319.5)
OKLCHoklch(0.756 0.187 317.5)
Decimal14648828
Display P3color(display-p3 0.875 0.522 0.988)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df85fc on white: 2.36:1
AA ✗ fail · AA-large · AAA
Aa
#df85fc on black: 8.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6FA3FF
deuteranopia · #89ACF9
tritanopia · #DF96B5

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df85fc 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
#ECC2FA
#df85fc
#D45BFB
#C624FA
#B606EF
#9805C7
#79049F
#590873
#370548
Base = 300Lightest = 50 · #FAF1FDDarkest = 950 · #370548
:root {
  --brand-50: #FAF1FD;
  --brand-100: #F6E4FC;
  --brand-200: #ECC2FA;
  --brand-300: #df85fc;
  --brand-400: #D45BFB;
  --brand-500: #C624FA;
  --brand-600: #B606EF;
  --brand-700: #9805C7;
  --brand-800: #79049F;
  --brand-900: #590873;
  --brand-950: #370548;
  --brand: #df85fc;
  --brand-ink: #000000;
}

Colors that work with #df85fc

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#874B9B
Captions on the surface
Accent#64CC00
Second voice, not a rival
Dark variant#5F037C
Hover, pressed, headers
Light variant#F8E6FE
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 #df85fc

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#A2FC85
Analogous left#A485FC
Analogous right#FC85DD
Split-complement 1#DDFC85
Split-complement 2#85FCA4
Triadic 1#FCDF85
Triadic 2#85FCDF
Tetradic#FCA485

RGB percentages

Red87.5%
Green52.2%
Blue98.8%

CMYK percentages

Cyan11.5%
Magenta47.2%
Yellow0.0%
Key (black)1.2%

Color previews

#df85fc text on a black background

contrast 8.90:1

Card sample

#df85fc text on a white background

contrast 2.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df85fc

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.

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

#df85fc, answered

What color is #df85fc?

#df85fc is a light electric violet, closest to Violet (ΔE2000 4.2). It sits at 285° on the hue wheel with 95% saturation and 76% lightness, which reads as cool.

What is the RGB value of #df85fc?

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

Is #df85fc a light or a dark color?

It is a mid-tone. Relative luminance is 0.3949 and perceived brightness is 71%, so black text on it reaches 8.90:1.

Should I use black or white text on #df85fc?

Black. It scores 8.90:1 against #df85fc, versus 2.36:1 for white — AAA at any size.

What is the complementary color of #df85fc?

#A2FC85 sits directly opposite on the wheel. Softer options are the split-complements #DDFC85 and #85FCA4, which give the same contrast with far less vibration.

What colors go well with #df85fc?

For interface work: #F9F4FA as the surface, #E2C0ED for borders, #874B9B for secondary text, #64CC00 as an accent and #5F037C for hover and pressed states. For a palette, the analogous pair #A485FC and #FC85DD stays calm, while #A2FC85 is the loudest partner.

What is #df85fc in CMYK for printing?

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

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

Work with #df85fc in the Color Lab