Skip to content

#ecddf3

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

RGB
236, 221, 243
HSL
281°, 48%, 91%
CMYK
3, 9, 0, 5
Luminance
0.7602

At a glance

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

Hex
#ecddf3
Hue
281°
violet
Saturation
48%
vivid
Lightness
91%
pale
Brightness
95%
HSV value
Perceived
89%
weighted brightness
Luminance
0.7602
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
16.20:1
Closest name
Lavender
ΔE2000 6.2
Where it sits
Hue281° of 360°
Saturation48%
Lightness91%
Temperature
Warm ← → Cool61% 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#ecddf3
RGBrgb(236, 221, 243)
HSLhsl(281, 48%, 91%)
CMYKcmyk(3%, 9%, 0%, 5%)
LABlab(89.9 9.0 -8.9)
LCHlch(89.9 12.6 315.5)
OKLCHoklch(0.916 0.034 315.2)
Decimal15523315
Display P3color(display-p3 0.925 0.867 0.953)

Copy-ready code

/* CSS */
color: #ecddf3;
background-color: #ecddf3;
/* Tailwind (arbitrary) */
class="text-[#ecddf3] bg-[#ecddf3]"
/* SCSS */
$brand: #ecddf3;
/* SwiftUI */
Color(red: 0.925, green: 0.867, blue: 0.953)
/* Android */
Color.parseColor("#ecddf3")
/* Flutter */
Color(0xFFECDDF3)
/* Python / OpenCV (BGR) */
(243, 221, 236)

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

Accessibility — WCAG contrast

Aa
#ecddf3 on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#ecddf3 on black: 16.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DBE1F4
deuteranopia · #DDE2F2
tritanopia · #ECDFE4

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ecddf3 is pinned to step 100; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F8F4FA
#ecddf3
#E3D0EC
#D1ACE2
#B983D3
#A259C4
#9040B5
#783597
#602B79
#472258
#2C1537
Base = 100Lightest = 50 · #F8F4FADarkest = 950 · #2C1537
:root {
  --brand-50: #F8F4FA;
  --brand-100: #ecddf3;
  --brand-200: #E3D0EC;
  --brand-300: #D1ACE2;
  --brand-400: #B983D3;
  --brand-500: #A259C4;
  --brand-600: #9040B5;
  --brand-700: #783597;
  --brand-800: #602B79;
  --brand-900: #472258;
  --brand-950: #2C1537;
  --brand: #ecddf3;
  --brand-ink: #000000;
}

Colors that work with #ecddf3

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#F8F4FA
Tinted page background
Border#DDC3EA
Hairlines and dividers
Muted text#814B9B
Captions on the surface
Accent#6F9B31
Second voice, not a rival
Dark variant#4B215E
Hover, pressed, headers
Light variant#F4ECF8
Selected rows, tints
Dark surface#1F1424
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 #ecddf3

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#E4F3DD
Analogous left#E1DDF3
Analogous right#F3DDEF
Split-complement 1#EFF3DD
Split-complement 2#DDF3E1
Triadic 1#F3ECDD
Triadic 2#DDF3EC
Tetradic#F3E1DD

RGB percentages

Red92.5%
Green86.7%
Blue95.3%

CMYK percentages

Cyan2.9%
Magenta9.1%
Yellow0.0%
Key (black)4.7%

Color previews

#ecddf3 text on a black background

contrast 16.20:1

Card sample

#ecddf3 text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(236, 221, 243, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 221, 243, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecddf3;
background: linear-gradient(135deg, #ecddf3, #F3DDEB);

Monochromatic scale

Palettes built from #ecddf3

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.

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

#ecddf3, answered

What color is #ecddf3?

#ecddf3 is a pale vivid violet, closest to Lavender (ΔE2000 6.2). It sits at 281° on the hue wheel with 48% saturation and 91% lightness, which reads as cool.

What is the RGB value of #ecddf3?

rgb(236, 221, 243) — 236 red, 221 green and 243 blue out of 255, or 92.5% / 86.7% / 95.3% by channel.

Is #ecddf3 a light or a dark color?

It is a light color. Relative luminance is 0.7602 and perceived brightness is 89%, so black text on it reaches 16.20:1.

Should I use black or white text on #ecddf3?

Black. It scores 16.20:1 against #ecddf3, versus 1.30:1 for white — AAA at any size.

What is the complementary color of #ecddf3?

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

What colors go well with #ecddf3?

For interface work: #F8F4FA as the surface, #DDC3EA for borders, #814B9B for secondary text, #6F9B31 as an accent and #4B215E for hover and pressed states. For a palette, the analogous pair #E1DDF3 and #F3DDEF stays calm, while #E4F3DD is the loudest partner.

What is #ecddf3 in CMYK for printing?

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

Is #ecddf3 warm or cool?

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

Work with #ecddf3 in the Color Lab