Skip to content

#d2c7ed

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

RGB
210, 199, 237
HSL
257°, 51%, 86%
CMYK
11, 16, 0, 7
Luminance
0.6066

At a glance

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

Hex
#d2c7ed
Hue
257°
violet
Saturation
51%
vivid
Lightness
86%
pale
Brightness
93%
HSV value
Perceived
81%
weighted brightness
Luminance
0.6066
WCAG relative
Temperature
Cool
74/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
13.13:1
Closest name
Thistle
ΔE2000 6.5
Where it sits
Hue257° of 360°
Saturation51%
Lightness86%
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#d2c7ed
RGBrgb(210, 199, 237)
HSLhsl(257, 51%, 86%)
CMYKcmyk(11%, 16%, 0%, 7%)
LABlab(82.2 11.0 -17.4)
LCHlch(82.2 20.6 302.4)
OKLCHoklch(0.851 0.053 298.5)
Decimal13813741
Display P3color(display-p3 0.824 0.780 0.929)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2c7ed on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#d2c7ed on black: 13.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C0CCEF
deuteranopia · #C1CCEC
tritanopia · #CECCD4

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d2c7ed 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
#d2c7ed
#BBAAE4
#9980D6
#7755C8
#603BB9
#50329A
#40287C
#31205A
#1F1438
Base = 200Lightest = 50 · #F6F4FADarkest = 950 · #1F1438
:root {
  --brand-50: #F6F4FA;
  --brand-100: #EDEAF6;
  --brand-200: #d2c7ed;
  --brand-300: #BBAAE4;
  --brand-400: #9980D6;
  --brand-500: #7755C8;
  --brand-600: #603BB9;
  --brand-700: #50329A;
  --brand-800: #40287C;
  --brand-900: #31205A;
  --brand-950: #1F1438;
  --brand: #d2c7ed;
  --brand-ink: #000000;
}

Colors that work with #d2c7ed

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#CDC1EB
Hairlines and dividers
Muted text#624B9B
Captions on the surface
Accent#9A9F2D
Second voice, not a rival
Dark variant#321F61
Hover, pressed, headers
Light variant#EFECF9
Selected rows, tints
Dark surface#191424
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 #d2c7ed

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#E2EDC7
Analogous left#C7CFED
Analogous right#E5C7ED
Split-complement 1#EDE5C7
Split-complement 2#CFEDC7
Triadic 1#EDD2C7
Triadic 2#C7EDD2
Tetradic#EDC7CF

RGB percentages

Red82.4%
Green78.0%
Blue92.9%

CMYK percentages

Cyan11.4%
Magenta16.0%
Yellow0.0%
Key (black)7.1%

Color previews

#d2c7ed text on a black background

contrast 13.13:1

Card sample

#d2c7ed text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2c7ed

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.

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

#d2c7ed, answered

What color is #d2c7ed?

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

What is the RGB value of #d2c7ed?

rgb(210, 199, 237) — 210 red, 199 green and 237 blue out of 255, or 82.4% / 78% / 92.9% by channel.

Is #d2c7ed a light or a dark color?

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

Should I use black or white text on #d2c7ed?

Black. It scores 13.13:1 against #d2c7ed, versus 1.60:1 for white — AAA at any size.

What is the complementary color of #d2c7ed?

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

What colors go well with #d2c7ed?

For interface work: #F6F4FA as the surface, #CDC1EB for borders, #624B9B for secondary text, #9A9F2D as an accent and #321F61 for hover and pressed states. For a palette, the analogous pair #C7CFED and #E5C7ED stays calm, while #E2EDC7 is the loudest partner.

What is #d2c7ed in CMYK for printing?

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

Is #d2c7ed 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 #E0C7ED; nudged cooler, #C6C9EE.

Work with #d2c7ed in the Color Lab