Skip to content

#d8cefd

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

RGB
216, 206, 253
HSL
253°, 92%, 90%
CMYK
15, 19, 0, 1
Luminance
0.6583

At a glance

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

Hex
#d8cefd
Hue
253°
blue
Saturation
92%
electric
Lightness
90%
pale
Brightness
99%
HSV value
Perceived
84%
weighted brightness
Luminance
0.6583
WCAG relative
Temperature
Cool
76/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
14.17:1
Closest name
Thistle
ΔE2000 9
Where it sits
Hue253° of 360°
Saturation92%
Lightness90%
Temperature
Warm ← → Cool76% 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#d8cefd
RGBrgb(216, 206, 253)
HSLhsl(253, 92%, 90%)
CMYKcmyk(15%, 19%, 0%, 1%)
LABlab(84.9 12.5 -21.7)
LCHlch(84.9 25.1 299.9)
OKLCHoklch(0.875 0.065 294.8)
Decimal14208765
Display P3color(display-p3 0.847 0.808 0.992)

Copy-ready code

/* CSS */
color: #d8cefd;
background-color: #d8cefd;
/* Tailwind (arbitrary) */
class="text-[#d8cefd] bg-[#d8cefd]"
/* SCSS */
$brand: #d8cefd;
/* SwiftUI */
Color(red: 0.847, green: 0.808, blue: 0.992)
/* Android */
Color.parseColor("#d8cefd")
/* Flutter */
Color(0xFFD8CEFD)
/* Python / OpenCV (BGR) */
(253, 206, 216)

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

Accessibility — WCAG contrast

Aa
#d8cefd on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#d8cefd on black: 14.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C4D4FF
deuteranopia · #C5D3FC
tritanopia · #D1D5DE

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d8cefd is pinned to step 200; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F4F2FD
#E9E4FB
#d8cefd
#A993FB
#7E5DF8
#5327F6
#3A0AEB
#3008C4
#26069D
#1F0971
#140647
Base = 200Lightest = 50 · #F4F2FDDarkest = 950 · #140647
:root {
  --brand-50: #F4F2FD;
  --brand-100: #E9E4FB;
  --brand-200: #d8cefd;
  --brand-300: #A993FB;
  --brand-400: #7E5DF8;
  --brand-500: #5327F6;
  --brand-600: #3A0AEB;
  --brand-700: #3008C4;
  --brand-800: #26069D;
  --brand-900: #1F0971;
  --brand-950: #140647;
  --brand: #d8cefd;
  --brand-ink: #000000;
}

Colors that work with #d8cefd

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#C9C0ED
Hairlines and dividers
Muted text#5C4B9B
Captions on the surface
Accent#C8C004
Second voice, not a rival
Dark variant#1E057B
Hover, pressed, headers
Light variant#ECE6FE
Selected rows, tints
Dark surface#171424
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 #d8cefd

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#F3FDCE
Analogous left#CEDBFD
Analogous right#F0CEFD
Split-complement 1#FDF0CE
Split-complement 2#DBFDCE
Triadic 1#FDD8CE
Triadic 2#CEFDD8
Tetradic#FDCEDB

RGB percentages

Red84.7%
Green80.8%
Blue99.2%

CMYK percentages

Cyan14.6%
Magenta18.6%
Yellow0.0%
Key (black)0.8%

Color previews

#d8cefd text on a black background

contrast 14.17:1

Card sample

#d8cefd text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(216, 206, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(216, 206, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d8cefd;
background: linear-gradient(135deg, #d8cefd, #F7CEFD);

Monochromatic scale

Palettes built from #d8cefd

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.

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

#d8cefd, answered

What color is #d8cefd?

#d8cefd is a pale electric blue, closest to Thistle (ΔE2000 9). It sits at 253° on the hue wheel with 92% saturation and 90% lightness, which reads as cool.

What is the RGB value of #d8cefd?

rgb(216, 206, 253) — 216 red, 206 green and 253 blue out of 255, or 84.7% / 80.8% / 99.2% by channel.

Is #d8cefd a light or a dark color?

It is a light color. Relative luminance is 0.6583 and perceived brightness is 84%, so black text on it reaches 14.17:1.

Should I use black or white text on #d8cefd?

Black. It scores 14.17:1 against #d8cefd, versus 1.48:1 for white — AAA at any size.

What is the complementary color of #d8cefd?

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

What colors go well with #d8cefd?

For interface work: #F6F4FA as the surface, #C9C0ED for borders, #5C4B9B for secondary text, #C8C004 as an accent and #1E057B for hover and pressed states. For a palette, the analogous pair #CEDBFD and #F0CEFD stays calm, while #F3FDCE is the loudest partner.

What is #d8cefd in CMYK for printing?

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

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

Work with #d8cefd in the Color Lab