Skip to content

#dfd2fd

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

RGB
223, 210, 253
HSL
258°, 92%, 91%
CMYK
12, 17, 0, 1
Luminance
0.6887

At a glance

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

Hex
#dfd2fd
Hue
258°
violet
Saturation
92%
electric
Lightness
91%
pale
Brightness
99%
HSV value
Perceived
86%
weighted brightness
Luminance
0.6887
WCAG relative
Temperature
Cool
73/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
14.77:1
Closest name
Thistle
ΔE2000 8.1
Where it sits
Hue258° of 360°
Saturation92%
Lightness91%
Temperature
Warm ← → Cool73% 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#dfd2fd
RGBrgb(223, 210, 253)
HSLhsl(258, 92%, 91%)
CMYKcmyk(12%, 17%, 0%, 1%)
LABlab(86.4 12.6 -19.4)
LCHlch(86.4 23.1 303.0)
OKLCHoklch(0.888 0.060 299.0)
Decimal14668541
Display P3color(display-p3 0.875 0.824 0.992)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd2fd on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#dfd2fd on black: 14.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CAD8FF
deuteranopia · #CCD8FC
tritanopia · #DAD8E0

Color scale — 50 to 950

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

#F5F2FD
#dfd2fd
#D3C3F9
#B394FA
#8C5EF8
#6628F5
#4E0AEA
#4109C3
#34079C
#290A71
#190646
Base = 100Lightest = 50 · #F5F2FDDarkest = 950 · #190646
:root {
  --brand-50: #F5F2FD;
  --brand-100: #dfd2fd;
  --brand-200: #D3C3F9;
  --brand-300: #B394FA;
  --brand-400: #8C5EF8;
  --brand-500: #6628F5;
  --brand-600: #4E0AEA;
  --brand-700: #4109C3;
  --brand-800: #34079C;
  --brand-900: #290A71;
  --brand-950: #190646;
  --brand: #dfd2fd;
  --brand-ink: #000000;
}

Colors that work with #dfd2fd

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#F6F4FA
Tinted page background
Border#CDC0ED
Hairlines and dividers
Muted text#634B9B
Captions on the surface
Accent#BFC804
Second voice, not a rival
Dark variant#29057A
Hover, pressed, headers
Light variant#EEE7FE
Selected rows, tints
Dark surface#191424
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 #dfd2fd

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#F0FDD2
Analogous left#D2DBFD
Analogous right#F4D2FD
Split-complement 1#FDF4D2
Split-complement 2#DBFDD2
Triadic 1#FDDFD2
Triadic 2#D2FDDF
Tetradic#FDD2DB

RGB percentages

Red87.5%
Green82.4%
Blue99.2%

CMYK percentages

Cyan11.9%
Magenta17.0%
Yellow0.0%
Key (black)0.8%

Color previews

#dfd2fd text on a black background

contrast 14.77:1

Card sample

#dfd2fd text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd2fd

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.

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

#dfd2fd, answered

What color is #dfd2fd?

#dfd2fd is a pale electric violet, closest to Thistle (ΔE2000 8.1). It sits at 258° on the hue wheel with 92% saturation and 91% lightness, which reads as cool.

What is the RGB value of #dfd2fd?

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

Is #dfd2fd a light or a dark color?

It is a light color. Relative luminance is 0.6887 and perceived brightness is 86%, so black text on it reaches 14.77:1.

Should I use black or white text on #dfd2fd?

Black. It scores 14.77:1 against #dfd2fd, versus 1.42:1 for white — AAA at any size.

What is the complementary color of #dfd2fd?

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

What colors go well with #dfd2fd?

For interface work: #F6F4FA as the surface, #CDC0ED for borders, #634B9B for secondary text, #BFC804 as an accent and #29057A for hover and pressed states. For a palette, the analogous pair #D2DBFD and #F4D2FD stays calm, while #F0FDD2 is the loudest partner.

What is #dfd2fd in CMYK for printing?

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

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

Work with #dfd2fd in the Color Lab