Skip to content

#ecc3ff

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

RGB
236, 195, 255
HSL
281°, 100%, 88%
CMYK
8, 24, 0, 0
Luminance
0.6408

At a glance

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

Hex
#ecc3ff
Hue
281°
violet
Saturation
100%
electric
Lightness
88%
pale
Brightness
100%
HSV value
Perceived
84%
weighted brightness
Luminance
0.6408
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
13.82:1
Closest name
Plum
ΔE2000 8.6
Where it sits
Hue281° of 360°
Saturation100%
Lightness88%
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#ecc3ff
RGBrgb(236, 195, 255)
HSLhsl(281, 100%, 88%)
CMYKcmyk(8%, 24%, 0%, 0%)
LABlab(84.0 25.0 -24.0)
LCHlch(84.0 34.7 316.2)
OKLCHoklch(0.872 0.092 315.0)
Decimal15516671
Display P3color(display-p3 0.925 0.765 1.000)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecc3ff on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#ecc3ff on black: 13.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BBCFFF
deuteranopia · #C4D3FD
tritanopia · #EBCAD8

Color scale — 50 to 950

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

#FAF1FE
#F4E3FC
#ecc3ff
#DB8FFF
#CA57FF
#B81FFF
#A700F5
#8B00CC
#7000A3
#520576
#330349
Base = 200Lightest = 50 · #FAF1FEDarkest = 950 · #330349
:root {
  --brand-50: #FAF1FE;
  --brand-100: #F4E3FC;
  --brand-200: #ecc3ff;
  --brand-300: #DB8FFF;
  --brand-400: #CA57FF;
  --brand-500: #B81FFF;
  --brand-600: #A700F5;
  --brand-700: #8B00CC;
  --brand-800: #7000A3;
  --brand-900: #520576;
  --brand-950: #330349;
  --brand: #ecc3ff;
  --brand-ink: #000000;
}

Colors that work with #ecc3ff

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#DEC0ED
Hairlines and dividers
Muted text#814B9B
Captions on the surface
Accent#74CC00
Second voice, not a rival
Dark variant#570080
Hover, pressed, headers
Light variant#F7E5FF
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 #ecc3ff

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#D6FFC3
Analogous left#CEC3FF
Analogous right#FFC3F4
Split-complement 1#F4FFC3
Split-complement 2#C3FFCE
Triadic 1#FFECC3
Triadic 2#C3FFEC
Tetradic#FFCEC3

RGB percentages

Red92.5%
Green76.5%
Blue100.0%

CMYK percentages

Cyan7.5%
Magenta23.5%
Yellow0.0%
Key (black)0.0%

Color previews

#ecc3ff text on a black background

contrast 13.82:1

Card sample

#ecc3ff text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc3ff

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.

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

#ecc3ff, answered

What color is #ecc3ff?

#ecc3ff is a pale electric violet, closest to Plum (ΔE2000 8.6). It sits at 281° on the hue wheel with 100% saturation and 88% lightness, which reads as cool.

What is the RGB value of #ecc3ff?

rgb(236, 195, 255) — 236 red, 195 green and 255 blue out of 255, or 92.5% / 76.5% / 100% by channel.

Is #ecc3ff a light or a dark color?

It is a light color. Relative luminance is 0.6408 and perceived brightness is 84%, so black text on it reaches 13.82:1.

Should I use black or white text on #ecc3ff?

Black. It scores 13.82:1 against #ecc3ff, versus 1.52:1 for white — AAA at any size.

What is the complementary color of #ecc3ff?

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

What colors go well with #ecc3ff?

For interface work: #F8F4FA as the surface, #DEC0ED for borders, #814B9B for secondary text, #74CC00 as an accent and #570080 for hover and pressed states. For a palette, the analogous pair #CEC3FF and #FFC3F4 stays calm, while #D6FFC3 is the loudest partner.

What is #ecc3ff in CMYK for printing?

cmyk(8%, 24%, 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 #ecc3ff 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 #FFC3FC; nudged cooler, #D6C3FF.

Work with #ecc3ff in the Color Lab