Skip to content

#dddafc

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

RGB
221, 218, 252
HSL
245°, 85%, 92%
CMYK
12, 14, 0, 1
Luminance
0.7254

At a glance

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

Hex
#dddafc
Hue
245°
blue
Saturation
85%
electric
Lightness
92%
pale
Brightness
99%
HSV value
Perceived
87%
weighted brightness
Luminance
0.7254
WCAG relative
Temperature
Cool
80/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
15.51:1
Closest name
Lavender
ΔE2000 5.5
Where it sits
Hue245° of 360°
Saturation85%
Lightness92%
Temperature
Warm ← → Cool80% 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#dddafc
RGBrgb(221, 218, 252)
HSLhsl(245, 85%, 92%)
CMYKcmyk(12%, 14%, 0%, 1%)
LABlab(88.2 7.5 -16.2)
LCHlch(88.2 17.8 294.9)
OKLCHoklch(0.901 0.046 289.5)
Decimal14539516
Display P3color(display-p3 0.867 0.855 0.988)

Copy-ready code

/* CSS */
color: #dddafc;
background-color: #dddafc;
/* Tailwind (arbitrary) */
class="text-[#dddafc] bg-[#dddafc]"
/* SCSS */
$brand: #dddafc;
/* SwiftUI */
Color(red: 0.867, green: 0.855, blue: 0.988)
/* Android */
Color.parseColor("#dddafc")
/* Flutter */
Color(0xFFDDDAFC)
/* Python / OpenCV (BGR) */
(252, 218, 221)

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

Accessibility — WCAG contrast

Aa
#dddafc on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#dddafc on black: 15.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D3DEFE
deuteranopia · #D2DDFB
tritanopia · #D7DFE5

Color scale — 50 to 950

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

#F3F2FC
#dddafc
#C9C5F7
#A097F7
#7063F2
#402FEE
#2512E2
#1F0FBD
#180C97
#160D6D
#0E0844
Base = 100Lightest = 50 · #F3F2FCDarkest = 950 · #0E0844
:root {
  --brand-50: #F3F2FC;
  --brand-100: #dddafc;
  --brand-200: #C9C5F7;
  --brand-300: #A097F7;
  --brand-400: #7063F2;
  --brand-500: #402FEE;
  --brand-600: #2512E2;
  --brand-700: #1F0FBD;
  --brand-800: #180C97;
  --brand-900: #160D6D;
  --brand-950: #0E0844;
  --brand: #dddafc;
  --brand-ink: #000000;
}

Colors that work with #dddafc

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#F5F4FA
Tinted page background
Border#C4C0ED
Hairlines and dividers
Muted text#524B9B
Captions on the surface
Accent#C2A30A
Second voice, not a rival
Dark variant#130A76
Hover, pressed, headers
Light variant#E9E7FD
Selected rows, tints
Dark surface#151424
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 #dddafc

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#F9FCDA
Analogous left#DAE8FC
Analogous right#EEDAFC
Split-complement 1#FCEEDA
Split-complement 2#E8FCDA
Triadic 1#FCDDDA
Triadic 2#DAFCDD
Tetradic#FCDAE8

RGB percentages

Red86.7%
Green85.5%
Blue98.8%

CMYK percentages

Cyan12.3%
Magenta13.5%
Yellow0.0%
Key (black)1.2%

Color previews

#dddafc text on a black background

contrast 15.51:1

Card sample

#dddafc text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dddafc

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.

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

#dddafc, answered

What color is #dddafc?

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

What is the RGB value of #dddafc?

rgb(221, 218, 252) — 221 red, 218 green and 252 blue out of 255, or 86.7% / 85.5% / 98.8% by channel.

Is #dddafc a light or a dark color?

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

Should I use black or white text on #dddafc?

Black. It scores 15.51:1 against #dddafc, versus 1.35:1 for white — AAA at any size.

What is the complementary color of #dddafc?

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

What colors go well with #dddafc?

For interface work: #F5F4FA as the surface, #C4C0ED for borders, #524B9B for secondary text, #C2A30A as an accent and #130A76 for hover and pressed states. For a palette, the analogous pair #DAE8FC and #EEDAFC stays calm, while #F9FCDA is the loudest partner.

What is #dddafc in CMYK for printing?

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

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

Work with #dddafc in the Color Lab