Skip to content

#dfcafd

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

RGB
223, 202, 253
HSL
265°, 93%, 89%
CMYK
12, 20, 0, 1
Luminance
0.6502

At a glance

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

Hex
#dfcafd
Hue
265°
violet
Saturation
93%
electric
Lightness
89%
pale
Brightness
99%
HSV value
Perceived
84%
weighted brightness
Luminance
0.6502
WCAG relative
Temperature
Cool
70/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
14.00:1
Closest name
Thistle
ΔE2000 8.3
Where it sits
Hue265° of 360°
Saturation93%
Lightness89%
Temperature
Warm ← → Cool70% 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#dfcafd
RGBrgb(223, 202, 253)
HSLhsl(265, 93%, 89%)
CMYKcmyk(12%, 20%, 0%, 1%)
LABlab(84.5 16.8 -22.3)
LCHlch(84.5 27.9 307.0)
OKLCHoklch(0.873 0.073 303.7)
Decimal14666493
Display P3color(display-p3 0.875 0.792 0.992)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfcafd on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#dfcafd on black: 14.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C1D2FF
deuteranopia · #C5D3FB
tritanopia · #DBD1DB

Color scale — 50 to 950

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

#F6F2FD
#EEE4FB
#dfcafd
#BE93FB
#9D5DF9
#7C27F7
#6609EC
#5507C5
#44069D
#340971
#200647
Base = 200Lightest = 50 · #F6F2FDDarkest = 950 · #200647
:root {
  --brand-50: #F6F2FD;
  --brand-100: #EEE4FB;
  --brand-200: #dfcafd;
  --brand-300: #BE93FB;
  --brand-400: #9D5DF9;
  --brand-500: #7C27F7;
  --brand-600: #6609EC;
  --brand-700: #5507C5;
  --brand-800: #44069D;
  --brand-900: #340971;
  --brand-950: #200647;
  --brand: #dfcafd;
  --brand-ink: #000000;
}

Colors that work with #dfcafd

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#D2C0ED
Hairlines and dividers
Muted text#6C4B9B
Captions on the surface
Accent#A7C804
Second voice, not a rival
Dark variant#35057B
Hover, pressed, headers
Light variant#F0E6FE
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 #dfcafd

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#E8FDCA
Analogous left#CACEFD
Analogous right#F8CAFD
Split-complement 1#FDF8CA
Split-complement 2#CEFDCA
Triadic 1#FDDFCA
Triadic 2#CAFDDF
Tetradic#FDCACE

RGB percentages

Red87.5%
Green79.2%
Blue99.2%

CMYK percentages

Cyan11.9%
Magenta20.2%
Yellow0.0%
Key (black)0.8%

Color previews

#dfcafd text on a black background

contrast 14.00:1

Card sample

#dfcafd text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcafd

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.

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

#dfcafd, answered

What color is #dfcafd?

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

What is the RGB value of #dfcafd?

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

Is #dfcafd a light or a dark color?

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

Should I use black or white text on #dfcafd?

Black. It scores 14.00:1 against #dfcafd, versus 1.50:1 for white — AAA at any size.

What is the complementary color of #dfcafd?

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

What colors go well with #dfcafd?

For interface work: #F7F4FA as the surface, #D2C0ED for borders, #6C4B9B for secondary text, #A7C804 as an accent and #35057B for hover and pressed states. For a palette, the analogous pair #CACEFD and #F8CAFD stays calm, while #E8FDCA is the loudest partner.

What is #dfcafd in CMYK for printing?

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

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

Work with #dfcafd in the Color Lab