Skip to content

#d2ccfe

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

RGB
210, 204, 254
HSL
247°, 96%, 90%
CMYK
17, 20, 0, 0
Luminance
0.6404

At a glance

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

Hex
#d2ccfe
Hue
247°
blue
Saturation
96%
electric
Lightness
90%
pale
Brightness
100%
HSV value
Perceived
83%
weighted brightness
Luminance
0.6404
WCAG relative
Temperature
Cool
79/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
13.81:1
Closest name
Thistle
ΔE2000 10.2
Where it sits
Hue247° of 360°
Saturation96%
Lightness90%
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#d2ccfe
RGBrgb(210, 204, 254)
HSLhsl(247, 96%, 90%)
CMYKcmyk(17%, 20%, 0%, 0%)
LABlab(84.0 11.9 -23.7)
LCHlch(84.0 26.5 296.7)
OKLCHoklch(0.866 0.069 290.4)
Decimal13815038
Display P3color(display-p3 0.824 0.800 0.996)

Copy-ready code

/* CSS */
color: #d2ccfe;
background-color: #d2ccfe;
/* Tailwind (arbitrary) */
class="text-[#d2ccfe] bg-[#d2ccfe]"
/* SCSS */
$brand: #d2ccfe;
/* SwiftUI */
Color(red: 0.824, green: 0.800, blue: 0.996)
/* Android */
Color.parseColor("#d2ccfe")
/* Flutter */
Color(0xFFD2CCFE)
/* Python / OpenCV (BGR) */
(254, 204, 210)

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

Accessibility — WCAG contrast

Aa
#d2ccfe on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#d2ccfe on black: 13.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C1D2FF
deuteranopia · #C1D0FD
tritanopia · #C9D4DD

Color scale — 50 to 950

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

#F3F1FD
#E7E4FC
#d2ccfe
#9E91FD
#6D5AFC
#3D23FB
#2105F0
#1B04C8
#1603A0
#140773
#0D0448
Base = 200Lightest = 50 · #F3F1FDDarkest = 950 · #0D0448
:root {
  --brand-50: #F3F1FD;
  --brand-100: #E7E4FC;
  --brand-200: #d2ccfe;
  --brand-300: #9E91FD;
  --brand-400: #6D5AFC;
  --brand-500: #3D23FB;
  --brand-600: #2105F0;
  --brand-700: #1B04C8;
  --brand-800: #1603A0;
  --brand-900: #140773;
  --brand-950: #0D0448;
  --brand: #d2ccfe;
  --brand-ink: #000000;
}

Colors that work with #d2ccfe

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#C5C0ED
Hairlines and dividers
Muted text#544B9B
Captions on the surface
Accent#CCB000
Second voice, not a rival
Dark variant#11027D
Hover, pressed, headers
Light variant#E9E6FF
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 #d2ccfe

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#F8FECC
Analogous left#CCDFFE
Analogous right#EBCCFE
Split-complement 1#FEEBCC
Split-complement 2#DFFECC
Triadic 1#FED2CC
Triadic 2#CCFED2
Tetradic#FECCDF

RGB percentages

Red82.4%
Green80.0%
Blue99.6%

CMYK percentages

Cyan17.3%
Magenta19.7%
Yellow0.0%
Key (black)0.4%

Color previews

#d2ccfe text on a black background

contrast 13.81:1

Card sample

#d2ccfe text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 204, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 204, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2ccfe;
background: linear-gradient(135deg, #d2ccfe, #F3CCFE);

Monochromatic scale

Palettes built from #d2ccfe

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.

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

#d2ccfe, answered

What color is #d2ccfe?

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

What is the RGB value of #d2ccfe?

rgb(210, 204, 254) — 210 red, 204 green and 254 blue out of 255, or 82.4% / 80% / 99.6% by channel.

Is #d2ccfe a light or a dark color?

It is a light color. Relative luminance is 0.6404 and perceived brightness is 83%, so black text on it reaches 13.81:1.

Should I use black or white text on #d2ccfe?

Black. It scores 13.81:1 against #d2ccfe, versus 1.52:1 for white — AAA at any size.

What is the complementary color of #d2ccfe?

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

What colors go well with #d2ccfe?

For interface work: #F5F4FA as the surface, #C5C0ED for borders, #544B9B for secondary text, #CCB000 as an accent and #11027D for hover and pressed states. For a palette, the analogous pair #CCDFFE and #EBCCFE stays calm, while #F8FECC is the loudest partner.

What is #d2ccfe in CMYK for printing?

cmyk(17%, 20%, 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 #d2ccfe 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 #E4CCFE; nudged cooler, #CBD8FF.

Work with #d2ccfe in the Color Lab