#d2c7ed
a pale, vivid violet · cool · closest name: Thistle
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.
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 |
| RGB | rgb(210, 199, 237) |
| HSL | hsl(257, 51%, 86%) |
| CMYK | cmyk(11%, 16%, 0%, 7%) |
| LAB | lab(82.2 11.0 -17.4) |
| LCH | lch(82.2 20.6 302.4) |
| OKLCH | oklch(0.851 0.053 298.5) |
| Decimal | 13813741 |
| Display P3 | color(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.
Accessibility — WCAG contrast
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.
: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.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #d2c7ed
Derived from its contrast, chroma and lightness — not from taste.
- ✓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
- ⚠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 | Directly opposite — maximum tension | |
| Analogous left | #C7CFED | Neighbour, quieter | |
| Analogous right | #E5C7ED | Neighbour, quieter | |
| Split-complement 1 | #EDE5C7 | Contrast without the clash | |
| Split-complement 2 | #CFEDC7 | Contrast without the clash | |
| Triadic 1 | #EDD2C7 | Even thirds — balanced and loud | |
| Triadic 2 | #C7EDD2 | Even thirds — balanced and loud | |
| Tetradic | #EDC7CF | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#d2c7ed text on a black background
contrast 13.13:1
#d2c7ed text on a white background
contrast 1.60:1
CSS3 live lab
The quick brown fox
color: #d2c7ed;
background-color: #d2c7ed;
Glowing headline
text-shadow: 2px 2px 8px #d2c7ed;
Soft neon halo
text-shadow: 0 0 14px rgba(210, 199, 237, 0.45);
box-shadow: 0 12px 32px -8px rgba(210, 199, 237, 0.45);
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.
Closest color with a full write-up: Periwinkle (#ccccff) — ΔE2000 5.4 away, with its history, psychology and brand usage.
#d2c7ed in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
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.