Skip to content

#d8cfef

a pale, vivid violet · cool · closest name: Thistle

RGB
216, 207, 239
HSL
257°, 50%, 88%
CMYK
10, 13, 0, 6
Luminance
0.6546

At a glance

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

Hex
#d8cfef
Hue
257°
violet
Saturation
50%
vivid
Lightness
88%
pale
Brightness
94%
HSV value
Perceived
84%
weighted brightness
Luminance
0.6546
WCAG relative
Temperature
Cool
74/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
14.09:1
Closest name
Thistle
ΔE2000 6.7
Where it sits
Hue257° of 360°
Saturation50%
Lightness88%
Temperature
Warm ← → Cool74% 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#d8cfef
RGBrgb(216, 207, 239)
HSLhsl(257, 50%, 88%)
CMYKcmyk(10%, 13%, 0%, 6%)
LABlab(84.7 9.1 -14.6)
LCHlch(84.7 17.2 302.0)
OKLCHoklch(0.872 0.045 298.3)
Decimal14209007
Display P3color(display-p3 0.847 0.812 0.937)

Copy-ready code

/* CSS */
color: #d8cfef;
background-color: #d8cfef;
/* Tailwind (arbitrary) */
class="text-[#d8cfef] bg-[#d8cfef]"
/* SCSS */
$brand: #d8cfef;
/* SwiftUI */
Color(red: 0.847, green: 0.812, blue: 0.937)
/* Android */
Color.parseColor("#d8cfef")
/* Flutter */
Color(0xFFD8CFEF)
/* Python / OpenCV (BGR) */
(239, 207, 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 #d8cfef · 14.09:1
Use #000000AAA at every size.
Aa
White text · 1.49:1
AA fail · AA large fail · AAA fail
Aa
Black text · 14.09:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #d8cfef as text scores 1.49:1 on white and 14.09:1 on black.

Accessibility — WCAG contrast

Aa
#d8cfef on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#d8cfef on black: 14.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C9D3F0
deuteranopia · #CAD3EE
tritanopia · #D4D3D9

Color scale — 50 to 950

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

#F6F4FA
#EDEAF6
#d8cfef
#BBABE3
#9881D5
#7657C7
#603DB8
#503399
#40297A
#312159
#1F1538
Base = 200Lightest = 50 · #F6F4FADarkest = 950 · #1F1538
:root {
  --brand-50: #F6F4FA;
  --brand-100: #EDEAF6;
  --brand-200: #d8cfef;
  --brand-300: #BBABE3;
  --brand-400: #9881D5;
  --brand-500: #7657C7;
  --brand-600: #603DB8;
  --brand-700: #503399;
  --brand-800: #40297A;
  --brand-900: #312159;
  --brand-950: #1F1538;
  --brand: #d8cfef;
  --brand-ink: #000000;
}

Colors that work with #d8cfef

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#CDC2EB
Hairlines and dividers
Muted text#614B9B
Captions on the surface
Accent#999C30
Second voice, not a rival
Dark variant#322060
Hover, pressed, headers
Light variant#EFECF9
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 #d8cfef

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#E6EFCF
Analogous left#CFD6EF
Analogous right#E8CFEF
Split-complement 1#EFE8CF
Split-complement 2#D6EFCF
Triadic 1#EFD8CF
Triadic 2#CFEFD8
Tetradic#EFCFD6

RGB percentages

Red84.7%
Green81.2%
Blue93.7%

CMYK percentages

Cyan9.6%
Magenta13.4%
Yellow0.0%
Key (black)6.3%

Color previews

#d8cfef text on a black background

contrast 14.09:1

Card sample

#d8cfef text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d8cfef

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.

#d8cfef in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Very light tints can drop out on uncoated stock; check it at 100% size before signing off.

#d8cfef, answered

What color is #d8cfef?

#d8cfef is a pale vivid violet, closest to Thistle (ΔE2000 6.7). It sits at 257° on the hue wheel with 50% saturation and 88% lightness, which reads as cool.

What is the RGB value of #d8cfef?

rgb(216, 207, 239) — 216 red, 207 green and 239 blue out of 255, or 84.7% / 81.2% / 93.7% by channel.

Is #d8cfef a light or a dark color?

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

Should I use black or white text on #d8cfef?

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

What is the complementary color of #d8cfef?

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

What colors go well with #d8cfef?

For interface work: #F6F4FA as the surface, #CDC2EB for borders, #614B9B for secondary text, #999C30 as an accent and #322060 for hover and pressed states. For a palette, the analogous pair #CFD6EF and #E8CFEF stays calm, while #E6EFCF is the loudest partner.

What is #d8cfef in CMYK for printing?

cmyk(10%, 13%, 0%, 6%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #d8cfef warm or cool?

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

Work with #d8cfef in the Color Lab