Skip to content

#d9dafa

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

RGB
217, 218, 250
HSL
238°, 77%, 92%
CMYK
13, 13, 0, 2
Luminance
0.7180

At a glance

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

Hex
#d9dafa
Hue
238°
blue
Saturation
77%
electric
Lightness
92%
pale
Brightness
98%
HSV value
Perceived
87%
weighted brightness
Luminance
0.7180
WCAG relative
Temperature
Cool
84/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
15.36:1
Closest name
Lavender
ΔE2000 4.8
Where it sits
Hue238° of 360°
Saturation77%
Lightness92%
Temperature
Warm ← → Cool84% 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#d9dafa
RGBrgb(217, 218, 250)
HSLhsl(238, 77%, 92%)
CMYKcmyk(13%, 13%, 0%, 2%)
LABlab(87.9 5.8 -15.7)
LCHlch(87.9 16.7 290.4)
OKLCHoklch(0.898 0.044 284.1)
Decimal14277370
Display P3color(display-p3 0.851 0.855 0.980)

Copy-ready code

/* CSS */
color: #d9dafa;
background-color: #d9dafa;
/* Tailwind (arbitrary) */
class="text-[#d9dafa] bg-[#d9dafa]"
/* SCSS */
$brand: #d9dafa;
/* SwiftUI */
Color(red: 0.851, green: 0.855, blue: 0.980)
/* Android */
Color.parseColor("#d9dafa")
/* Flutter */
Color(0xFFD9DAFA)
/* Python / OpenCV (BGR) */
(250, 218, 217)

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 #d9dafa · 15.36:1
Use #000000AAA at every size.
Aa
White text · 1.37:1
AA fail · AA large fail · AAA fail
Aa
Black text · 15.36:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #d9dafa as text scores 1.37:1 on white and 15.36:1 on black.

Accessibility — WCAG contrast

Aa
#d9dafa on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#d9dafa on black: 15.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D2DDFC
deuteranopia · #D1DBF9
tritanopia · #D2DFE4

Color scale — 50 to 950

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

#F3F3FC
#d9dafa
#C7C9F4
#9C9EF2
#6A6EEB
#393EE5
#1D22D8
#181CB4
#131790
#121568
#0B0D41
Base = 100Lightest = 50 · #F3F3FCDarkest = 950 · #0B0D41
:root {
  --brand-50: #F3F3FC;
  --brand-100: #d9dafa;
  --brand-200: #C7C9F4;
  --brand-300: #9C9EF2;
  --brand-400: #6A6EEB;
  --brand-500: #393EE5;
  --brand-600: #1D22D8;
  --brand-700: #181CB4;
  --brand-800: #131790;
  --brand-900: #121568;
  --brand-950: #0B0D41;
  --brand: #d9dafa;
  --brand-ink: #000000;
}

Colors that work with #d9dafa

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#F4F4FA
Tinted page background
Border#C0C1ED
Hairlines and dividers
Muted text#4B4D9B
Captions on the surface
Accent#B98A13
Second voice, not a rival
Dark variant#0F1271
Hover, pressed, headers
Light variant#E8E9FC
Selected rows, tints
Dark surface#141424
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 #d9dafa

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#FAF9D9
Analogous left#D9EBFA
Analogous right#E9D9FA
Split-complement 1#FAE9D9
Split-complement 2#EBFAD9
Triadic 1#FAD9DA
Triadic 2#DAFAD9
Tetradic#FAD9EB

RGB percentages

Red85.1%
Green85.5%
Blue98.0%

CMYK percentages

Cyan13.2%
Magenta12.8%
Yellow0.0%
Key (black)2.0%

Color previews

#d9dafa text on a black background

contrast 15.36:1

Card sample

#d9dafa text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d9dafa

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.

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

#d9dafa, answered

What color is #d9dafa?

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

What is the RGB value of #d9dafa?

rgb(217, 218, 250) — 217 red, 218 green and 250 blue out of 255, or 85.1% / 85.5% / 98% by channel.

Is #d9dafa a light or a dark color?

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

Should I use black or white text on #d9dafa?

Black. It scores 15.36:1 against #d9dafa, versus 1.37:1 for white — AAA at any size.

What is the complementary color of #d9dafa?

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

What colors go well with #d9dafa?

For interface work: #F4F4FA as the surface, #C0C1ED for borders, #4B4D9B for secondary text, #B98A13 as an accent and #0F1271 for hover and pressed states. For a palette, the analogous pair #D9EBFA and #E9D9FA stays calm, while #FAF9D9 is the loudest partner.

What is #d9dafa in CMYK for printing?

cmyk(13%, 13%, 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 #d9dafa warm or cool?

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

Work with #d9dafa in the Color Lab