Skip to content

#e3c7df

a light, soft magenta / pink · neutral · closest name: Thistle

RGB
227, 199, 223
HSL
309°, 33%, 84%
CMYK
0, 12, 2, 11
Luminance
0.6251

At a glance

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

Hex
#e3c7df
Hue
309°
magenta / pink
Saturation
33%
soft
Lightness
84%
light
Brightness
89%
HSV value
Perceived
83%
weighted brightness
Luminance
0.6251
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
13.50:1
Closest name
Thistle
ΔE2000 2.3
Where it sits
Hue309° of 360°
Saturation33%
Lightness84%
Temperature
Warm ← → Cool45% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#e3c7df
RGBrgb(227, 199, 223)
HSLhsl(309, 33%, 84%)
CMYKcmyk(0%, 12%, 2%, 11%)
LABlab(83.2 13.9 -8.3)
LCHlch(83.2 16.2 329.3)
OKLCHoklch(0.860 0.045 330.6)
Decimal14927839
Display P3color(display-p3 0.890 0.780 0.875)

Copy-ready code

/* CSS */
color: #e3c7df;
background-color: #e3c7df;
/* Tailwind (arbitrary) */
class="text-[#e3c7df] bg-[#e3c7df]"
/* SCSS */
$brand: #e3c7df;
/* SwiftUI */
Color(red: 0.890, green: 0.780, blue: 0.875)
/* Android */
Color.parseColor("#e3c7df")
/* Flutter */
Color(0xFFE3C7DF)
/* Python / OpenCV (BGR) */
(223, 199, 227)

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 #e3c7df · 13.50:1
Use #000000AAA at every size.
Aa
White text · 1.56:1
AA fail · AA large fail · AAA fail
Aa
Black text · 13.50:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #e3c7df as text scores 1.56:1 on white and 13.50:1 on black.

Accessibility — WCAG contrast

Aa
#e3c7df on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#e3c7df on black: 13.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C6CDE0
deuteranopia · #CCD1DE
tritanopia · #E6C8CF

Color scale — 50 to 950

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

#F9F5F9
#F4ECF3
#e3c7df
#DAB4D4
#C78FBF
#B469A9
#A35297
#88447E
#6D3665
#502A4B
#321B2F
Base = 200Lightest = 50 · #F9F5F9Darkest = 950 · #321B2F
:root {
  --brand-50: #F9F5F9;
  --brand-100: #F4ECF3;
  --brand-200: #e3c7df;
  --brand-300: #DAB4D4;
  --brand-400: #C78FBF;
  --brand-500: #B469A9;
  --brand-600: #A35297;
  --brand-700: #88447E;
  --brand-800: #6D3665;
  --brand-900: #502A4B;
  --brand-950: #321B2F;
  --brand: #e3c7df;
  --brand-ink: #000000;
}

Colors that work with #e3c7df

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#FAF5F9
Tinted page background
Border#E4C9E0
Hairlines and dividers
Muted text#994D8E
Captions on the surface
Accent#498D3F
Second voice, not a rival
Dark variant#552B4F
Hover, pressed, headers
Light variant#F6EEF5
Selected rows, tints
Dark surface#241422
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 #e3c7df

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#C7E3CB
Analogous left#D9C7E3
Analogous right#E3C7D1
Split-complement 1#D1E3C7
Split-complement 2#C7E3D9
Triadic 1#DFE3C7
Triadic 2#C7DFE3
Tetradic#E3D9C7

RGB percentages

Red89.0%
Green78.0%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta12.3%
Yellow1.8%
Key (black)11.0%

Color previews

#e3c7df text on a black background

contrast 13.50:1

Card sample

#e3c7df text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e3c7df

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.

#e3c7df in the real world

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

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#e3c7df, answered

What color is #e3c7df?

#e3c7df is a light soft magenta / pink, closest to Thistle (ΔE2000 2.3). It sits at 309° on the hue wheel with 33% saturation and 84% lightness, which reads as neutral.

What is the RGB value of #e3c7df?

rgb(227, 199, 223) — 227 red, 199 green and 223 blue out of 255, or 89% / 78% / 87.5% by channel.

Is #e3c7df a light or a dark color?

It is a light color. Relative luminance is 0.6251 and perceived brightness is 83%, so black text on it reaches 13.50:1.

Should I use black or white text on #e3c7df?

Black. It scores 13.50:1 against #e3c7df, versus 1.56:1 for white — AAA at any size.

What is the complementary color of #e3c7df?

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

What colors go well with #e3c7df?

For interface work: #FAF5F9 as the surface, #E4C9E0 for borders, #994D8E for secondary text, #498D3F as an accent and #552B4F for hover and pressed states. For a palette, the analogous pair #D9C7E3 and #E3C7D1 stays calm, while #C7E3CB is the loudest partner.

What is #e3c7df in CMYK for printing?

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

Is #e3c7df warm or cool?

Neutral — it scores 45 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E3C7D5; nudged cooler, #DDC6E4.

Work with #e3c7df in the Color Lab