Skip to content

#d2c4fe

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

RGB
210, 196, 254
HSL
255°, 97%, 88%
CMYK
17, 23, 0, 0
Luminance
0.6034

At a glance

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

Hex
#d2c4fe
Hue
255°
blue
Saturation
97%
electric
Lightness
88%
pale
Brightness
100%
HSV value
Perceived
81%
weighted brightness
Luminance
0.6034
WCAG relative
Temperature
Cool
75/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
13.07:1
Closest name
Thistle
ΔE2000 10.4
Where it sits
Hue255° of 360°
Saturation97%
Lightness88%
Temperature
Warm ← → Cool75% 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#d2c4fe
RGBrgb(210, 196, 254)
HSLhsl(255, 97%, 88%)
CMYKcmyk(17%, 23%, 0%, 0%)
LABlab(82.0 16.2 -26.7)
LCHlch(82.0 31.2 301.3)
OKLCHoklch(0.851 0.081 295.7)
Decimal13812990
Display P3color(display-p3 0.824 0.769 0.996)

Copy-ready code

/* CSS */
color: #d2c4fe;
background-color: #d2c4fe;
/* Tailwind (arbitrary) */
class="text-[#d2c4fe] bg-[#d2c4fe]"
/* SCSS */
$brand: #d2c4fe;
/* SwiftUI */
Color(red: 0.824, green: 0.769, blue: 0.996)
/* Android */
Color.parseColor("#d2c4fe")
/* Flutter */
Color(0xFFD2C4FE)
/* Python / OpenCV (BGR) */
(254, 196, 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 #d2c4fe · 13.07:1
Use #000000AAA at every size.
Aa
White text · 1.61:1
AA fail · AA large fail · AAA fail
Aa
Black text · 13.07:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #d2c4fe as text scores 1.61:1 on white and 13.07:1 on black.

Accessibility — WCAG contrast

Aa
#d2c4fe on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#d2c4fe on black: 13.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B7CCFF
deuteranopia · #B9CBFC
tritanopia · #CACDD8

Color scale — 50 to 950

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

#F4F1FD
#E9E4FC
#d2c4fe
#AB91FD
#8159FC
#5722FB
#3D04F1
#3303C9
#2903A1
#210774
#150448
Base = 200Lightest = 50 · #F4F1FDDarkest = 950 · #150448
:root {
  --brand-50: #F4F1FD;
  --brand-100: #E9E4FC;
  --brand-200: #d2c4fe;
  --brand-300: #AB91FD;
  --brand-400: #8159FC;
  --brand-500: #5722FB;
  --brand-600: #3D04F1;
  --brand-700: #3303C9;
  --brand-800: #2903A1;
  --brand-900: #210774;
  --brand-950: #150448;
  --brand: #d2c4fe;
  --brand-ink: #000000;
}

Colors that work with #d2c4fe

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#CBC0ED
Hairlines and dividers
Muted text#5E4B9B
Captions on the surface
Accent#CCC900
Second voice, not a rival
Dark variant#20027D
Hover, pressed, headers
Light variant#ECE6FF
Selected rows, tints
Dark surface#181424
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 #d2c4fe

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#F0FEC4
Analogous left#C4D3FE
Analogous right#EFC4FE
Split-complement 1#FEEFC4
Split-complement 2#D3FEC4
Triadic 1#FED2C4
Triadic 2#C4FED2
Tetradic#FEC4D3

RGB percentages

Red82.4%
Green76.9%
Blue99.6%

CMYK percentages

Cyan17.3%
Magenta22.8%
Yellow0.0%
Key (black)0.4%

Color previews

#d2c4fe text on a black background

contrast 13.07:1

Card sample

#d2c4fe text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2c4fe

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.

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

#d2c4fe, answered

What color is #d2c4fe?

#d2c4fe is a pale electric blue, closest to Thistle (ΔE2000 10.4). It sits at 255° on the hue wheel with 97% saturation and 88% lightness, which reads as cool.

What is the RGB value of #d2c4fe?

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

Is #d2c4fe a light or a dark color?

It is a light color. Relative luminance is 0.6034 and perceived brightness is 81%, so black text on it reaches 13.07:1.

Should I use black or white text on #d2c4fe?

Black. It scores 13.07:1 against #d2c4fe, versus 1.61:1 for white — AAA at any size.

What is the complementary color of #d2c4fe?

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

What colors go well with #d2c4fe?

For interface work: #F6F4FA as the surface, #CBC0ED for borders, #5E4B9B for secondary text, #CCC900 as an accent and #20027D for hover and pressed states. For a palette, the analogous pair #C4D3FE and #EFC4FE stays calm, while #F0FEC4 is the loudest partner.

What is #d2c4fe in CMYK for printing?

cmyk(17%, 23%, 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 #d2c4fe warm or cool?

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

Work with #d2c4fe in the Color Lab