Skip to content

#dfd5ff

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

RGB
223, 213, 255
HSL
254°, 100%, 92%
CMYK
13, 17, 0, 0
Luminance
0.7050

At a glance

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

Hex
#dfd5ff
Hue
254°
blue
Saturation
100%
electric
Lightness
92%
pale
Brightness
100%
HSV value
Perceived
87%
weighted brightness
Luminance
0.7050
WCAG relative
Temperature
Cool
75/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
15.10:1
Closest name
Lavender
ΔE2000 8.5
Where it sits
Hue254° of 360°
Saturation100%
Lightness92%
Temperature
Warm ← → Cool75% 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#dfd5ff
RGBrgb(223, 213, 255)
HSLhsl(254, 100%, 92%)
CMYKcmyk(13%, 17%, 0%, 0%)
LABlab(87.2 11.4 -19.2)
LCHlch(87.2 22.3 300.6)
OKLCHoklch(0.894 0.058 296.1)
Decimal14669311
Display P3color(display-p3 0.875 0.835 1.000)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd5ff on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#dfd5ff on black: 15.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CDDBFF
deuteranopia · #CEDAFE
tritanopia · #D9DBE3

Color scale — 50 to 950

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

#F4F1FE
#dfd5ff
#CEC0FC
#AA8FFF
#7F57FF
#541FFF
#3A00F5
#3100CC
#2700A3
#200576
#140349
Base = 100Lightest = 50 · #F4F1FEDarkest = 950 · #140349
:root {
  --brand-50: #F4F1FE;
  --brand-100: #dfd5ff;
  --brand-200: #CEC0FC;
  --brand-300: #AA8FFF;
  --brand-400: #7F57FF;
  --brand-500: #541FFF;
  --brand-600: #3A00F5;
  --brand-700: #3100CC;
  --brand-800: #2700A3;
  --brand-900: #200576;
  --brand-950: #140349;
  --brand: #dfd5ff;
  --brand-ink: #000000;
}

Colors that work with #dfd5ff

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#CAC0ED
Hairlines and dividers
Muted text#5E4B9B
Captions on the surface
Accent#CCCC00
Second voice, not a rival
Dark variant#1E0080
Hover, pressed, headers
Light variant#ECE5FF
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 #dfd5ff

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#F5FFD5
Analogous left#D5E0FF
Analogous right#F4D5FF
Split-complement 1#FFF4D5
Split-complement 2#E0FFD5
Triadic 1#FFDFD5
Triadic 2#D5FFDF
Tetradic#FFD5E0

RGB percentages

Red87.5%
Green83.5%
Blue100.0%

CMYK percentages

Cyan12.5%
Magenta16.5%
Yellow0.0%
Key (black)0.0%

Color previews

#dfd5ff text on a black background

contrast 15.10:1

Card sample

#dfd5ff text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd5ff

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.

#dfd5ff in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#dfd5ff, answered

What color is #dfd5ff?

#dfd5ff is a pale electric blue, closest to Lavender (ΔE2000 8.5). It sits at 254° on the hue wheel with 100% saturation and 92% lightness, which reads as cool.

What is the RGB value of #dfd5ff?

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

Is #dfd5ff a light or a dark color?

It is a light color. Relative luminance is 0.7050 and perceived brightness is 87%, so black text on it reaches 15.10:1.

Should I use black or white text on #dfd5ff?

Black. It scores 15.10:1 against #dfd5ff, versus 1.39:1 for white — AAA at any size.

What is the complementary color of #dfd5ff?

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

What colors go well with #dfd5ff?

For interface work: #F6F4FA as the surface, #CAC0ED for borders, #5E4B9B for secondary text, #CCCC00 as an accent and #1E0080 for hover and pressed states. For a palette, the analogous pair #D5E0FF and #F4D5FF stays calm, while #F5FFD5 is the loudest partner.

What is #dfd5ff in CMYK for printing?

cmyk(13%, 17%, 0%, 0%). 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 #dfd5ff warm or cool?

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

Work with #dfd5ff in the Color Lab