Skip to content

#dfd5fa

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

RGB
223, 213, 250
HSL
256°, 79%, 91%
CMYK
11, 15, 0, 2
Luminance
0.7018

At a glance

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

Hex
#dfd5fa
Hue
256°
violet
Saturation
79%
electric
Lightness
91%
pale
Brightness
98%
HSV value
Perceived
86%
weighted brightness
Luminance
0.7018
WCAG relative
Temperature
Cool
74/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
15.04:1
Closest name
Lavender
ΔE2000 7.6
Where it sits
Hue256° of 360°
Saturation79%
Lightness91%
Temperature
Warm ← → Cool74% 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#dfd5fa
RGBrgb(223, 213, 250)
HSLhsl(256, 79%, 91%)
CMYKcmyk(11%, 15%, 0%, 2%)
LABlab(87.1 10.4 -16.8)
LCHlch(87.1 19.8 301.6)
OKLCHoklch(0.893 0.051 297.7)
Decimal14669306
Display P3color(display-p3 0.875 0.835 0.980)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd5fa on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#dfd5fa on black: 15.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CEDAFC
deuteranopia · #CFDAF9
tritanopia · #DADAE1

Color scale — 50 to 950

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

#F5F3FC
#dfd5fa
#D3C7F5
#B39BF3
#8C69ED
#6636E7
#4E1ADB
#4116B6
#341192
#29116A
#1A0B42
Base = 100Lightest = 50 · #F5F3FCDarkest = 950 · #1A0B42
:root {
  --brand-50: #F5F3FC;
  --brand-100: #dfd5fa;
  --brand-200: #D3C7F5;
  --brand-300: #B39BF3;
  --brand-400: #8C69ED;
  --brand-500: #6636E7;
  --brand-600: #4E1ADB;
  --brand-700: #4116B6;
  --brand-800: #341192;
  --brand-900: #29116A;
  --brand-950: #1A0B42;
  --brand: #dfd5fa;
  --brand-ink: #000000;
}

Colors that work with #dfd5fa

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#CCC0ED
Hairlines and dividers
Muted text#604B9B
Captions on the surface
Accent#B6BB11
Second voice, not a rival
Dark variant#290E72
Hover, pressed, headers
Light variant#EEE8FC
Selected rows, tints
Dark surface#181424
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 #dfd5fa

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#F0FAD5
Analogous left#D5DEFA
Analogous right#F2D5FA
Split-complement 1#FAF2D5
Split-complement 2#DEFAD5
Triadic 1#FADFD5
Triadic 2#D5FADF
Tetradic#FAD5DE

RGB percentages

Red87.5%
Green83.5%
Blue98.0%

CMYK percentages

Cyan10.8%
Magenta14.8%
Yellow0.0%
Key (black)2.0%

Color previews

#dfd5fa text on a black background

contrast 15.04:1

Card sample

#dfd5fa text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd5fa

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.

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

#dfd5fa, answered

What color is #dfd5fa?

#dfd5fa is a pale electric violet, closest to Lavender (ΔE2000 7.6). It sits at 256° on the hue wheel with 79% saturation and 91% lightness, which reads as cool.

What is the RGB value of #dfd5fa?

rgb(223, 213, 250) — 223 red, 213 green and 250 blue out of 255, or 87.5% / 83.5% / 98% by channel.

Is #dfd5fa a light or a dark color?

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

Should I use black or white text on #dfd5fa?

Black. It scores 15.04:1 against #dfd5fa, versus 1.40:1 for white — AAA at any size.

What is the complementary color of #dfd5fa?

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

What colors go well with #dfd5fa?

For interface work: #F6F4FA as the surface, #CCC0ED for borders, #604B9B for secondary text, #B6BB11 as an accent and #290E72 for hover and pressed states. For a palette, the analogous pair #D5DEFA and #F2D5FA stays calm, while #F0FAD5 is the loudest partner.

What is #dfd5fa in CMYK for printing?

cmyk(11%, 15%, 0%, 2%). 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 #dfd5fa warm or cool?

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

Work with #dfd5fa in the Color Lab