Skip to content

#dfc7fd

a pale, electric violet · cool · closest name: Thistle

RGB
223, 199, 253
HSL
267°, 93%, 89%
CMYK
12, 21, 0, 1
Luminance
0.6363

At a glance

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

Hex
#dfc7fd
Hue
267°
violet
Saturation
93%
electric
Lightness
89%
pale
Brightness
99%
HSV value
Perceived
84%
weighted brightness
Luminance
0.6363
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
13.73:1
Closest name
Thistle
ΔE2000 8.6
Where it sits
Hue267° of 360°
Saturation93%
Lightness89%
Temperature
Warm ← → Cool68% 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#dfc7fd
RGBrgb(223, 199, 253)
HSLhsl(267, 93%, 89%)
CMYKcmyk(12%, 21%, 0%, 1%)
LABlab(83.8 18.4 -23.4)
LCHlch(83.8 29.8 308.2)
OKLCHoklch(0.867 0.078 305.0)
Decimal14665725
Display P3color(display-p3 0.875 0.780 0.992)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfc7fd on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#dfc7fd on black: 13.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BED0FF
deuteranopia · #C2D1FB
tritanopia · #DBCED9

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dfc7fd is pinned to step 200; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F7F2FD
#EEE4FB
#dfc7fd
#C193FB
#A25DF9
#8326F7
#6E08EC
#5C07C5
#49069E
#370972
#230547
Base = 200Lightest = 50 · #F7F2FDDarkest = 950 · #230547
:root {
  --brand-50: #F7F2FD;
  --brand-100: #EEE4FB;
  --brand-200: #dfc7fd;
  --brand-300: #C193FB;
  --brand-400: #A25DF9;
  --brand-500: #8326F7;
  --brand-600: #6E08EC;
  --brand-700: #5C07C5;
  --brand-800: #49069E;
  --brand-900: #370972;
  --brand-950: #230547;
  --brand: #dfc7fd;
  --brand-ink: #000000;
}

Colors that work with #dfc7fd

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#F7F4FA
Tinted page background
Border#D4C0ED
Hairlines and dividers
Muted text#6E4B9B
Captions on the surface
Accent#A2C903
Second voice, not a rival
Dark variant#39047B
Hover, pressed, headers
Light variant#F1E6FE
Selected rows, tints
Dark surface#1B1424
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 #dfc7fd

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#E5FDC7
Analogous left#C7CAFD
Analogous right#FAC7FD
Split-complement 1#FDFAC7
Split-complement 2#CAFDC7
Triadic 1#FDDFC7
Triadic 2#C7FDDF
Tetradic#FDC7CA

RGB percentages

Red87.5%
Green78.0%
Blue99.2%

CMYK percentages

Cyan11.9%
Magenta21.3%
Yellow0.0%
Key (black)0.8%

Color previews

#dfc7fd text on a black background

contrast 13.73:1

Card sample

#dfc7fd text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfc7fd

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.

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

#dfc7fd, answered

What color is #dfc7fd?

#dfc7fd is a pale electric violet, closest to Thistle (ΔE2000 8.6). It sits at 267° on the hue wheel with 93% saturation and 89% lightness, which reads as cool.

What is the RGB value of #dfc7fd?

rgb(223, 199, 253) — 223 red, 199 green and 253 blue out of 255, or 87.5% / 78% / 99.2% by channel.

Is #dfc7fd a light or a dark color?

It is a light color. Relative luminance is 0.6363 and perceived brightness is 84%, so black text on it reaches 13.73:1.

Should I use black or white text on #dfc7fd?

Black. It scores 13.73:1 against #dfc7fd, versus 1.53:1 for white — AAA at any size.

What is the complementary color of #dfc7fd?

#E5FDC7 sits directly opposite on the wheel. Softer options are the split-complements #FDFAC7 and #CAFDC7, which give the same contrast with far less vibration.

What colors go well with #dfc7fd?

For interface work: #F7F4FA as the surface, #D4C0ED for borders, #6E4B9B for secondary text, #A2C903 as an accent and #39047B for hover and pressed states. For a palette, the analogous pair #C7CAFD and #FAC7FD stays calm, while #E5FDC7 is the loudest partner.

What is #dfc7fd in CMYK for printing?

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

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

Work with #dfc7fd in the Color Lab