Skip to content

#d4cffc

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

RGB
212, 207, 252
HSL
247°, 88%, 90%
CMYK
16, 18, 0, 1
Luminance
0.6565

At a glance

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

Hex
#d4cffc
Hue
247°
blue
Saturation
88%
electric
Lightness
90%
pale
Brightness
99%
HSV value
Perceived
84%
weighted brightness
Luminance
0.6565
WCAG relative
Temperature
Cool
80/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
14.13:1
Closest name
Lavender
ΔE2000 9.3
Where it sits
Hue247° of 360°
Saturation88%
Lightness90%
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#d4cffc
RGBrgb(212, 207, 252)
HSLhsl(247, 88%, 90%)
CMYKcmyk(16%, 18%, 0%, 1%)
LABlab(84.8 10.5 -21.4)
LCHlch(84.8 23.8 296.2)
OKLCHoklch(0.873 0.062 290.1)
Decimal13946876
Display P3color(display-p3 0.831 0.812 0.988)

Copy-ready code

/* CSS */
color: #d4cffc;
background-color: #d4cffc;
/* Tailwind (arbitrary) */
class="text-[#d4cffc] bg-[#d4cffc]"
/* SCSS */
$brand: #d4cffc;
/* SwiftUI */
Color(red: 0.831, green: 0.812, blue: 0.988)
/* Android */
Color.parseColor("#d4cffc")
/* Flutter */
Color(0xFFD4CFFC)
/* Python / OpenCV (BGR) */
(252, 207, 212)

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

Accessibility — WCAG contrast

Aa
#d4cffc on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#d4cffc on black: 14.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C5D5FE
deuteranopia · #C5D3FB
tritanopia · #CCD6DE

Color scale — 50 to 950

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

#F3F2FD
#E7E5FA
#d4cffc
#A095F8
#7161F5
#422CF2
#270EE6
#200CC0
#1A0A9A
#170C6F
#0E0745
Base = 200Lightest = 50 · #F3F2FDDarkest = 950 · #0E0745
:root {
  --brand-50: #F3F2FD;
  --brand-100: #E7E5FA;
  --brand-200: #d4cffc;
  --brand-300: #A095F8;
  --brand-400: #7161F5;
  --brand-500: #422CF2;
  --brand-600: #270EE6;
  --brand-700: #200CC0;
  --brand-800: #1A0A9A;
  --brand-900: #170C6F;
  --brand-950: #0E0745;
  --brand: #d4cffc;
  --brand-ink: #000000;
}

Colors that work with #d4cffc

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#C4AC08
Second voice, not a rival
Dark variant#140878
Hover, pressed, headers
Light variant#EAE7FD
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 #d4cffc

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#F7FCCF
Analogous left#CFE0FC
Analogous right#EBCFFC
Split-complement 1#FCEBCF
Split-complement 2#E0FCCF
Triadic 1#FCD4CF
Triadic 2#CFFCD4
Tetradic#FCCFE0

RGB percentages

Red83.1%
Green81.2%
Blue98.8%

CMYK percentages

Cyan15.9%
Magenta17.9%
Yellow0.0%
Key (black)1.2%

Color previews

#d4cffc text on a black background

contrast 14.13:1

Card sample

#d4cffc text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4cffc

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.

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

#d4cffc, answered

What color is #d4cffc?

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

What is the RGB value of #d4cffc?

rgb(212, 207, 252) — 212 red, 207 green and 252 blue out of 255, or 83.1% / 81.2% / 98.8% by channel.

Is #d4cffc a light or a dark color?

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

Should I use black or white text on #d4cffc?

Black. It scores 14.13:1 against #d4cffc, versus 1.49:1 for white — AAA at any size.

What is the complementary color of #d4cffc?

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

What colors go well with #d4cffc?

For interface work: #F5F4FA as the surface, #C5C0ED for borders, #544B9B for secondary text, #C4AC08 as an accent and #140878 for hover and pressed states. For a palette, the analogous pair #CFE0FC and #EBCFFC stays calm, while #F7FCCF is the loudest partner.

What is #d4cffc in CMYK for printing?

cmyk(16%, 18%, 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 #d4cffc 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 #E5CFFC; nudged cooler, #CEDAFD.

Work with #d4cffc in the Color Lab