#d0cfee
a pale, vivid blue · cool · closest name: Lavender
At a glance
Every number on this page in one read: what #d0cfee 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 | #d0cfee |
| RGB | rgb(208, 207, 238) |
| HSL | hsl(242, 48%, 87%) |
| CMYK | cmyk(13%, 13%, 0%, 7%) |
| LAB | lab(84.1 6.3 -15.1) |
| LCH | lch(84.1 16.4 292.8) |
| OKLCH | oklch(0.865 0.043 287.0) |
| Decimal | 13684718 |
| Display P3 | color(display-p3 0.816 0.812 0.933) |
Copy-ready code
/* CSS */
color: #d0cfee;
background-color: #d0cfee;
/* Tailwind (arbitrary) */
class="text-[#d0cfee] bg-[#d0cfee]"
/* SCSS */
$brand: #d0cfee;
/* SwiftUI */
Color(red: 0.816, green: 0.812, blue: 0.933)
/* Android */
Color.parseColor("#d0cfee")
/* Flutter */
Color(0xFFD0CFEE)
/* Python / OpenCV (BGR) */
(238, 207, 208)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. #d0cfee 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: #F5F5FA;
--brand-100: #EAEAF5;
--brand-200: #d0cfee;
--brand-300: #AEACE2;
--brand-400: #8583D3;
--brand-500: #5D59C4;
--brand-600: #4440B5;
--brand-700: #383597;
--brand-800: #2D2B79;
--brand-900: #242258;
--brand-950: #171537;
--brand: #d0cfee;
--brand-ink: #000000;
}Colors that work with #d0cfee
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 #d0cfee
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 | #EDEECF | Directly opposite — maximum tension | |
| Analogous left | #CFDEEE | Neighbour, quieter | |
| Analogous right | #E0CFEE | Neighbour, quieter | |
| Split-complement 1 | #EEE0CF | Contrast without the clash | |
| Split-complement 2 | #DEEECF | Contrast without the clash | |
| Triadic 1 | #EED0CF | Even thirds — balanced and loud | |
| Triadic 2 | #CFEED0 | Even thirds — balanced and loud | |
| Tetradic | #EECFDE | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#d0cfee text on a black background
contrast 13.84:1
#d0cfee text on a white background
contrast 1.52:1
CSS3 live lab
The quick brown fox
color: #d0cfee;
background-color: #d0cfee;
Glowing headline
text-shadow: 2px 2px 8px #d0cfee;
Soft neon halo
text-shadow: 0 0 14px rgba(208, 207, 238, 0.45);
box-shadow: 0 12px 32px -8px rgba(208, 207, 238, 0.45);
border: 3px solid #d0cfee; background: linear-gradient(135deg, #d0cfee, #E5CFEE);
Monochromatic scale
Palettes built from #d0cfee
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.5 away, with its history, psychology and brand usage.
#d0cfee 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.
#d0cfee, answered
What color is #d0cfee?
#d0cfee is a pale vivid blue, closest to Lavender (ΔE2000 6.4). It sits at 242° on the hue wheel with 48% saturation and 87% lightness, which reads as cool.
What is the RGB value of #d0cfee?
rgb(208, 207, 238) — 208 red, 207 green and 238 blue out of 255, or 81.6% / 81.2% / 93.3% by channel.
Is #d0cfee a light or a dark color?
It is a light color. Relative luminance is 0.6421 and perceived brightness is 83%, so black text on it reaches 13.84:1.
Should I use black or white text on #d0cfee?
Black. It scores 13.84:1 against #d0cfee, versus 1.52:1 for white — AAA at any size.
What is the complementary color of #d0cfee?
#EDEECF sits directly opposite on the wheel. Softer options are the split-complements #EEE0CF and #DEEECF, which give the same contrast with far less vibration.
What colors go well with #d0cfee?
For interface work: #F4F4FA as the surface, #C4C3EA for borders, #4D4B9B for secondary text, #9A8432 as an accent and #23215E for hover and pressed states. For a palette, the analogous pair #CFDEEE and #E0CFEE stays calm, while #EDEECF is the loudest partner.
What is #d0cfee in CMYK for printing?
cmyk(13%, 13%, 0%, 7%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #d0cfee warm or cool?
Cool — it scores 82 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DBCFEE; nudged cooler, #CFD9EF.