Skip to content

#ded9ff

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

RGB
222, 217, 255
HSL
248°, 100%, 93%
CMYK
13, 15, 0, 0
Luminance
0.7238

At a glance

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

Hex
#ded9ff
Hue
248°
blue
Saturation
100%
electric
Lightness
93%
pale
Brightness
100%
HSV value
Perceived
88%
weighted brightness
Luminance
0.7238
WCAG relative
Temperature
Cool
79/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
15.48:1
Closest name
Lavender
ΔE2000 6.8
Where it sits
Hue248° of 360°
Saturation100%
Lightness93%
Temperature
Warm ← → Cool79% 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#ded9ff
RGBrgb(222, 217, 255)
HSLhsl(248, 100%, 93%)
CMYKcmyk(13%, 15%, 0%, 0%)
LABlab(88.2 8.9 -17.9)
LCHlch(88.2 20.0 296.6)
OKLCHoklch(0.901 0.052 291.4)
Decimal14604799
Display P3color(display-p3 0.871 0.851 1.000)

Copy-ready code

/* CSS */
color: #ded9ff;
background-color: #ded9ff;
/* Tailwind (arbitrary) */
class="text-[#ded9ff] bg-[#ded9ff]"
/* SCSS */
$brand: #ded9ff;
/* SwiftUI */
Color(red: 0.871, green: 0.851, blue: 1.000)
/* Android */
Color.parseColor("#ded9ff")
/* Flutter */
Color(0xFFDED9FF)
/* Python / OpenCV (BGR) */
(255, 217, 222)

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

Accessibility — WCAG contrast

Aa
#ded9ff on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#ded9ff on black: 15.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D1DEFF
deuteranopia · #D1DCFE
tritanopia · #D8DFE5

Color scale — 50 to 950

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

#F3F1FE
#ded9ff
#C8C0FC
#9E8FFF
#6D57FF
#3C1FFF
#2000F5
#1B00CC
#1500A3
#140576
#0C0349
Base = 100Lightest = 50 · #F3F1FEDarkest = 950 · #0C0349
:root {
  --brand-50: #F3F1FE;
  --brand-100: #ded9ff;
  --brand-200: #C8C0FC;
  --brand-300: #9E8FFF;
  --brand-400: #6D57FF;
  --brand-500: #3C1FFF;
  --brand-600: #2000F5;
  --brand-700: #1B00CC;
  --brand-800: #1500A3;
  --brand-900: #140576;
  --brand-950: #0C0349;
  --brand: #ded9ff;
  --brand-ink: #000000;
}

Colors that work with #ded9ff

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#C6C0ED
Hairlines and dividers
Muted text#554B9B
Captions on the surface
Accent#CCB100
Second voice, not a rival
Dark variant#110080
Hover, pressed, headers
Light variant#E9E5FF
Selected rows, tints
Dark surface#161424
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 #ded9ff

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#FAFFD9
Analogous left#D9E7FF
Analogous right#F1D9FF
Split-complement 1#FFF1D9
Split-complement 2#E7FFD9
Triadic 1#FFDED9
Triadic 2#D9FFDE
Tetradic#FFD9E7

RGB percentages

Red87.1%
Green85.1%
Blue100.0%

CMYK percentages

Cyan12.9%
Magenta14.9%
Yellow0.0%
Key (black)0.0%

Color previews

#ded9ff text on a black background

contrast 15.48:1

Card sample

#ded9ff text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ded9ff

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.

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

#ded9ff, answered

What color is #ded9ff?

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

What is the RGB value of #ded9ff?

rgb(222, 217, 255) — 222 red, 217 green and 255 blue out of 255, or 87.1% / 85.1% / 100% by channel.

Is #ded9ff a light or a dark color?

It is a light color. Relative luminance is 0.7238 and perceived brightness is 88%, so black text on it reaches 15.48:1.

Should I use black or white text on #ded9ff?

Black. It scores 15.48:1 against #ded9ff, versus 1.36:1 for white — AAA at any size.

What is the complementary color of #ded9ff?

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

What colors go well with #ded9ff?

For interface work: #F5F4FA as the surface, #C6C0ED for borders, #554B9B for secondary text, #CCB100 as an accent and #110080 for hover and pressed states. For a palette, the analogous pair #D9E7FF and #F1D9FF stays calm, while #FAFFD9 is the loudest partner.

What is #ded9ff in CMYK for printing?

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

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

Work with #ded9ff in the Color Lab