Skip to content

#eccefe

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

RGB
236, 206, 254
HSL
278°, 96%, 90%
CMYK
7, 19, 0, 0
Luminance
0.6913

At a glance

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

Hex
#eccefe
Hue
278°
violet
Saturation
96%
electric
Lightness
90%
pale
Brightness
100%
HSV value
Perceived
87%
weighted brightness
Luminance
0.6913
WCAG relative
Temperature
Cool
63/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
14.83:1
Closest name
Thistle
ΔE2000 7.7
Where it sits
Hue278° of 360°
Saturation96%
Lightness90%
Temperature
Warm ← → Cool63% 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#eccefe
RGBrgb(236, 206, 254)
HSLhsl(278, 96%, 90%)
CMYKcmyk(7%, 19%, 0%, 0%)
LABlab(86.6 19.0 -19.6)
LCHlch(86.6 27.3 314.1)
OKLCHoklch(0.891 0.072 312.8)
Decimal15519486
Display P3color(display-p3 0.925 0.808 0.996)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eccefe on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#eccefe on black: 14.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C8D7FF
deuteranopia · #CDD9FC
tritanopia · #EBD4DE

Color scale — 50 to 950

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

#F9F1FD
#F3E4FC
#eccefe
#D491FD
#BF5AFC
#AA23FB
#9805F0
#7E04C8
#6503A0
#4B0773
#2F0448
Base = 200Lightest = 50 · #F9F1FDDarkest = 950 · #2F0448
:root {
  --brand-50: #F9F1FD;
  --brand-100: #F3E4FC;
  --brand-200: #eccefe;
  --brand-300: #D491FD;
  --brand-400: #BF5AFC;
  --brand-500: #AA23FB;
  --brand-600: #9805F0;
  --brand-700: #7E04C8;
  --brand-800: #6503A0;
  --brand-900: #4B0773;
  --brand-950: #2F0448;
  --brand: #eccefe;
  --brand-ink: #000000;
}

Colors that work with #eccefe

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#DCC0ED
Hairlines and dividers
Muted text#7D4B9B
Captions on the surface
Accent#7ECC00
Second voice, not a rival
Dark variant#4F037D
Hover, pressed, headers
Light variant#F5E6FE
Selected rows, tints
Dark surface#1E1424
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 #eccefe

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#E0FECE
Analogous left#D4CEFE
Analogous right#FECEF8
Split-complement 1#F8FECE
Split-complement 2#CEFED4
Triadic 1#FEECCE
Triadic 2#CEFEEC
Tetradic#FED4CE

RGB percentages

Red92.5%
Green80.8%
Blue99.6%

CMYK percentages

Cyan7.1%
Magenta18.9%
Yellow0.0%
Key (black)0.4%

Color previews

#eccefe text on a black background

contrast 14.83:1

Card sample

#eccefe text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccefe

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.

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

#eccefe, answered

What color is #eccefe?

#eccefe is a pale electric violet, closest to Thistle (ΔE2000 7.7). It sits at 278° on the hue wheel with 96% saturation and 90% lightness, which reads as cool.

What is the RGB value of #eccefe?

rgb(236, 206, 254) — 236 red, 206 green and 254 blue out of 255, or 92.5% / 80.8% / 99.6% by channel.

Is #eccefe a light or a dark color?

It is a light color. Relative luminance is 0.6913 and perceived brightness is 87%, so black text on it reaches 14.83:1.

Should I use black or white text on #eccefe?

Black. It scores 14.83:1 against #eccefe, versus 1.42:1 for white — AAA at any size.

What is the complementary color of #eccefe?

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

What colors go well with #eccefe?

For interface work: #F8F4FA as the surface, #DCC0ED for borders, #7D4B9B for secondary text, #7ECC00 as an accent and #4F037D for hover and pressed states. For a palette, the analogous pair #D4CEFE and #FECEF8 stays calm, while #E0FECE is the loudest partner.

What is #eccefe in CMYK for printing?

cmyk(7%, 19%, 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 #eccefe warm or cool?

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

Work with #eccefe in the Color Lab