Skip to content

#ecb3fd

a light, electric violet · neutral · closest name: Plum

RGB
236, 179, 253
HSL
286°, 95%, 85%
CMYK
7, 29, 0, 1
Luminance
0.5716

At a glance

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

Hex
#ecb3fd
Hue
286°
violet
Saturation
95%
electric
Lightness
85%
light
Brightness
99%
HSV value
Perceived
81%
weighted brightness
Luminance
0.5716
WCAG relative
Temperature
Neutral
58/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
12.43:1
Closest name
Plum
ΔE2000 6
Where it sits
Hue286° of 360°
Saturation95%
Lightness85%
Temperature
Warm ← → Cool58% 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#ecb3fd
RGBrgb(236, 179, 253)
HSLhsl(286, 95%, 85%)
CMYKcmyk(7%, 29%, 0%, 1%)
LABlab(80.3 33.2 -28.6)
LCHlch(80.3 43.8 319.2)
OKLCHoklch(0.843 0.117 318.3)
Decimal15512573
Display P3color(display-p3 0.925 0.702 0.992)

Copy-ready code

/* CSS */
color: #ecb3fd;
background-color: #ecb3fd;
/* Tailwind (arbitrary) */
class="text-[#ecb3fd] bg-[#ecb3fd]"
/* SCSS */
$brand: #ecb3fd;
/* SwiftUI */
Color(red: 0.925, green: 0.702, blue: 0.992)
/* Android */
Color.parseColor("#ecb3fd")
/* Flutter */
Color(0xFFECB3FD)
/* Python / OpenCV (BGR) */
(253, 179, 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 #ecb3fd · 12.43:1
Use #000000AAA at every size.
Aa
White text · 1.69:1
AA fail · AA large fail · AAA fail
Aa
Black text · 12.43:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ecb3fd as text scores 1.69:1 on white and 12.43:1 on black.

Accessibility — WCAG contrast

Aa
#ecb3fd on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#ecb3fd on black: 12.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AAC3FF
deuteranopia · #B7C9FB
tritanopia · #EDBBCE

Color scale — 50 to 950

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

#FBF1FD
#F6E4FB
#ecb3fd
#E492FC
#D65BFB
#C824F9
#B906EF
#9A05C7
#7B049F
#5A0873
#380548
Base = 200Lightest = 50 · #FBF1FDDarkest = 950 · #380548
:root {
  --brand-50: #FBF1FD;
  --brand-100: #F6E4FB;
  --brand-200: #ecb3fd;
  --brand-300: #E492FC;
  --brand-400: #D65BFB;
  --brand-500: #C824F9;
  --brand-600: #B906EF;
  --brand-700: #9A05C7;
  --brand-800: #7B049F;
  --brand-900: #5A0873;
  --brand-950: #380548;
  --brand: #ecb3fd;
  --brand-ink: #000000;
}

Colors that work with #ecb3fd

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#F9F4FA
Tinted page background
Border#E2C0ED
Hairlines and dividers
Muted text#884B9B
Captions on the surface
Accent#61CC00
Second voice, not a rival
Dark variant#60037C
Hover, pressed, headers
Light variant#F9E6FE
Selected rows, tints
Dark surface#211424
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 #ecb3fd

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#C4FDB3
Analogous left#C7B3FD
Analogous right#FDB3E9
Split-complement 1#E9FDB3
Split-complement 2#B3FDC7
Triadic 1#FDECB3
Triadic 2#B3FDEC
Tetradic#FDC7B3

RGB percentages

Red92.5%
Green70.2%
Blue99.2%

CMYK percentages

Cyan6.7%
Magenta29.2%
Yellow0.0%
Key (black)0.8%

Color previews

#ecb3fd text on a black background

contrast 12.43:1

Card sample

#ecb3fd text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecb3fd

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.

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

#ecb3fd, answered

What color is #ecb3fd?

#ecb3fd is a light electric violet, closest to Plum (ΔE2000 6). It sits at 286° on the hue wheel with 95% saturation and 85% lightness, which reads as neutral.

What is the RGB value of #ecb3fd?

rgb(236, 179, 253) — 236 red, 179 green and 253 blue out of 255, or 92.5% / 70.2% / 99.2% by channel.

Is #ecb3fd a light or a dark color?

It is a light color. Relative luminance is 0.5716 and perceived brightness is 81%, so black text on it reaches 12.43:1.

Should I use black or white text on #ecb3fd?

Black. It scores 12.43:1 against #ecb3fd, versus 1.69:1 for white — AAA at any size.

What is the complementary color of #ecb3fd?

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

What colors go well with #ecb3fd?

For interface work: #F9F4FA as the surface, #E2C0ED for borders, #884B9B for secondary text, #61CC00 as an accent and #60037C for hover and pressed states. For a palette, the analogous pair #C7B3FD and #FDB3E9 stays calm, while #C4FDB3 is the loudest partner.

What is #ecb3fd in CMYK for printing?

cmyk(7%, 29%, 0%, 1%). 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 #ecb3fd warm or cool?

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

Work with #ecb3fd in the Color Lab