Skip to content

#e9dcff

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

RGB
233, 220, 255
HSL
262°, 100%, 93%
CMYK
9, 14, 0, 0
Luminance
0.7573

At a glance

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

Hex
#e9dcff
Hue
262°
violet
Saturation
100%
electric
Lightness
93%
pale
Brightness
100%
HSV value
Perceived
89%
weighted brightness
Luminance
0.7573
WCAG relative
Temperature
Cool
71/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
16.15:1
Closest name
Lavender
ΔE2000 7.3
Where it sits
Hue262° of 360°
Saturation100%
Lightness93%
Temperature
Warm ← → Cool71% 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#e9dcff
RGBrgb(233, 220, 255)
HSLhsl(262, 100%, 93%)
CMYKcmyk(9%, 14%, 0%, 0%)
LABlab(89.7 10.8 -15.4)
LCHlch(89.7 18.8 305.2)
OKLCHoklch(0.916 0.049 302.3)
Decimal15326463
Display P3color(display-p3 0.914 0.863 1.000)

Copy-ready code

/* CSS */
color: #e9dcff;
background-color: #e9dcff;
/* Tailwind (arbitrary) */
class="text-[#e9dcff] bg-[#e9dcff]"
/* SCSS */
$brand: #e9dcff;
/* SwiftUI */
Color(red: 0.914, green: 0.863, blue: 1.000)
/* Android */
Color.parseColor("#e9dcff")
/* Flutter */
Color(0xFFE9DCFF)
/* Python / OpenCV (BGR) */
(255, 220, 233)

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

Accessibility — WCAG contrast

Aa
#e9dcff on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#e9dcff on black: 16.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D6E1FF
deuteranopia · #D8E2FE
tritanopia · #E6E1E7

Color scale — 50 to 950

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

#F6F1FE
#e9dcff
#D6C0FC
#B98FFF
#9557FF
#721FFF
#5B00F5
#4C00CC
#3D00A3
#2F0576
#1D0349
Base = 100Lightest = 50 · #F6F1FEDarkest = 950 · #1D0349
:root {
  --brand-50: #F6F1FE;
  --brand-100: #e9dcff;
  --brand-200: #D6C0FC;
  --brand-300: #B98FFF;
  --brand-400: #9557FF;
  --brand-500: #721FFF;
  --brand-600: #5B00F5;
  --brand-700: #4C00CC;
  --brand-800: #3D00A3;
  --brand-900: #2F0576;
  --brand-950: #1D0349;
  --brand: #e9dcff;
  --brand-ink: #000000;
}

Colors that work with #e9dcff

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#F7F4FA
Tinted page background
Border#D0C0ED
Hairlines and dividers
Muted text#684B9B
Captions on the surface
Accent#B5CC00
Second voice, not a rival
Dark variant#2F0080
Hover, pressed, headers
Light variant#EFE5FF
Selected rows, tints
Dark surface#1A1424
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 #e9dcff

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#F2FFDC
Analogous left#DCE0FF
Analogous right#FADCFF
Split-complement 1#FFFADC
Split-complement 2#E0FFDC
Triadic 1#FFE9DC
Triadic 2#DCFFE9
Tetradic#FFDCE0

RGB percentages

Red91.4%
Green86.3%
Blue100.0%

CMYK percentages

Cyan8.6%
Magenta13.7%
Yellow0.0%
Key (black)0.0%

Color previews

#e9dcff text on a black background

contrast 16.15:1

Card sample

#e9dcff text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(233, 220, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(233, 220, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e9dcff;
background: linear-gradient(135deg, #e9dcff, #FFDCFE);

Monochromatic scale

Palettes built from #e9dcff

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.

#e9dcff 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#e9dcff, answered

What color is #e9dcff?

#e9dcff is a pale electric violet, closest to Lavender (ΔE2000 7.3). It sits at 262° on the hue wheel with 100% saturation and 93% lightness, which reads as cool.

What is the RGB value of #e9dcff?

rgb(233, 220, 255) — 233 red, 220 green and 255 blue out of 255, or 91.4% / 86.3% / 100% by channel.

Is #e9dcff a light or a dark color?

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

Should I use black or white text on #e9dcff?

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

What is the complementary color of #e9dcff?

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

What colors go well with #e9dcff?

For interface work: #F7F4FA as the surface, #D0C0ED for borders, #684B9B for secondary text, #B5CC00 as an accent and #2F0080 for hover and pressed states. For a palette, the analogous pair #DCE0FF and #FADCFF stays calm, while #F2FFDC is the loudest partner.

What is #e9dcff in CMYK for printing?

cmyk(9%, 14%, 0%, 0%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #e9dcff warm or cool?

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

Work with #e9dcff in the Color Lab