Skip to content

#ebdcfb

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

RGB
235, 220, 251
HSL
269°, 80%, 92%
CMYK
6, 12, 0, 2
Luminance
0.7581

At a glance

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

Hex
#ebdcfb
Hue
269°
violet
Saturation
80%
electric
Lightness
92%
pale
Brightness
98%
HSV value
Perceived
90%
weighted brightness
Luminance
0.7581
WCAG relative
Temperature
Cool
67/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
16.16:1
Closest name
Lavender
ΔE2000 7.1
Where it sits
Hue269° of 360°
Saturation80%
Lightness92%
Temperature
Warm ← → Cool67% 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#ebdcfb
RGBrgb(235, 220, 251)
HSLhsl(269, 80%, 92%)
CMYKcmyk(6%, 12%, 0%, 2%)
LABlab(89.8 10.7 -13.2)
LCHlch(89.8 17.0 309.1)
OKLCHoklch(0.916 0.044 307.2)
Decimal15457531
Display P3color(display-p3 0.922 0.863 0.984)

Copy-ready code

/* CSS */
color: #ebdcfb;
background-color: #ebdcfb;
/* Tailwind (arbitrary) */
class="text-[#ebdcfb] bg-[#ebdcfb]"
/* SCSS */
$brand: #ebdcfb;
/* SwiftUI */
Color(red: 0.922, green: 0.863, blue: 0.984)
/* Android */
Color.parseColor("#ebdcfb")
/* Flutter */
Color(0xFFEBDCFB)
/* Python / OpenCV (BGR) */
(251, 220, 235)

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

Accessibility — WCAG contrast

Aa
#ebdcfb on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#ebdcfb on black: 16.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D7E1FC
deuteranopia · #DAE2FA
tritanopia · #E9E0E6

Color scale — 50 to 950

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

#F7F3FC
#ebdcfb
#DDC7F5
#C59AF3
#A968EE
#8C36E8
#7719DC
#6315B7
#4F1192
#3C106A
#250A42
Base = 100Lightest = 50 · #F7F3FCDarkest = 950 · #250A42
:root {
  --brand-50: #F7F3FC;
  --brand-100: #ebdcfb;
  --brand-200: #DDC7F5;
  --brand-300: #C59AF3;
  --brand-400: #A968EE;
  --brand-500: #8C36E8;
  --brand-600: #7719DC;
  --brand-700: #6315B7;
  --brand-800: #4F1192;
  --brand-900: #3C106A;
  --brand-950: #250A42;
  --brand: #ebdcfb;
  --brand-ink: #000000;
}

Colors that work with #ebdcfb

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#D5C0ED
Hairlines and dividers
Muted text#714B9B
Captions on the surface
Accent#93BC10
Second voice, not a rival
Dark variant#3E0D72
Hover, pressed, headers
Light variant#F2E8FC
Selected rows, tints
Dark surface#1C1424
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 #ebdcfb

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#ECFBDC
Analogous left#DCDDFB
Analogous right#FBDCFB
Split-complement 1#FBFBDC
Split-complement 2#DDFBDC
Triadic 1#FBEBDC
Triadic 2#DCFBEB
Tetradic#FBDCDD

RGB percentages

Red92.2%
Green86.3%
Blue98.4%

CMYK percentages

Cyan6.4%
Magenta12.4%
Yellow0.0%
Key (black)1.6%

Color previews

#ebdcfb text on a black background

contrast 16.16:1

Card sample

#ebdcfb text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdcfb

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.

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

#ebdcfb, answered

What color is #ebdcfb?

#ebdcfb is a pale electric violet, closest to Lavender (ΔE2000 7.1). It sits at 269° on the hue wheel with 80% saturation and 92% lightness, which reads as cool.

What is the RGB value of #ebdcfb?

rgb(235, 220, 251) — 235 red, 220 green and 251 blue out of 255, or 92.2% / 86.3% / 98.4% by channel.

Is #ebdcfb a light or a dark color?

It is a light color. Relative luminance is 0.7581 and perceived brightness is 90%, so black text on it reaches 16.16:1.

Should I use black or white text on #ebdcfb?

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

What is the complementary color of #ebdcfb?

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

What colors go well with #ebdcfb?

For interface work: #F7F4FA as the surface, #D5C0ED for borders, #714B9B for secondary text, #93BC10 as an accent and #3E0D72 for hover and pressed states. For a palette, the analogous pair #DCDDFB and #FBDCFB stays calm, while #ECFBDC is the loudest partner.

What is #ebdcfb in CMYK for printing?

cmyk(6%, 12%, 0%, 2%). 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 #ebdcfb warm or cool?

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

Work with #ebdcfb in the Color Lab