Skip to content

#eec2fd

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

RGB
238, 194, 253
HSL
285°, 94%, 88%
CMYK
6, 23, 0, 1
Luminance
0.6385

At a glance

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

Hex
#eec2fd
Hue
285°
violet
Saturation
94%
electric
Lightness
88%
pale
Brightness
99%
HSV value
Perceived
84%
weighted brightness
Luminance
0.6385
WCAG relative
Temperature
Cool
58/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
13.77:1
Closest name
Plum
ΔE2000 8.2
Where it sits
Hue285° of 360°
Saturation94%
Lightness88%
Temperature
Warm ← → Cool58% 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#eec2fd
RGBrgb(238, 194, 253)
HSLhsl(285, 94%, 88%)
CMYKcmyk(6%, 23%, 0%, 1%)
LABlab(83.9 25.8 -23.1)
LCHlch(83.9 34.6 318.2)
OKLCHoklch(0.871 0.092 317.4)
Decimal15647485
Display P3color(display-p3 0.933 0.761 0.992)

Copy-ready code

/* CSS */
color: #eec2fd;
background-color: #eec2fd;
/* Tailwind (arbitrary) */
class="text-[#eec2fd] bg-[#eec2fd]"
/* SCSS */
$brand: #eec2fd;
/* SwiftUI */
Color(red: 0.933, green: 0.761, blue: 0.992)
/* Android */
Color.parseColor("#eec2fd")
/* Flutter */
Color(0xFFEEC2FD)
/* Python / OpenCV (BGR) */
(253, 194, 238)

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

Accessibility — WCAG contrast

Aa
#eec2fd on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#eec2fd on black: 13.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BBCEFF
deuteranopia · #C4D3FB
tritanopia · #EEC8D6

Color scale — 50 to 950

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

#FAF2FD
#F5E4FB
#eec2fd
#E192FB
#D15CFA
#C226F8
#B308ED
#9506C6
#77059E
#570872
#360547
Base = 200Lightest = 50 · #FAF2FDDarkest = 950 · #360547
:root {
  --brand-50: #FAF2FD;
  --brand-100: #F5E4FB;
  --brand-200: #eec2fd;
  --brand-300: #E192FB;
  --brand-400: #D15CFA;
  --brand-500: #C226F8;
  --brand-600: #B308ED;
  --brand-700: #9506C6;
  --brand-800: #77059E;
  --brand-900: #570872;
  --brand-950: #360547;
  --brand: #eec2fd;
  --brand-ink: #000000;
}

Colors that work with #eec2fd

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#E1C0ED
Hairlines and dividers
Muted text#864B9B
Captions on the surface
Accent#69C903
Second voice, not a rival
Dark variant#5D047B
Hover, pressed, headers
Light variant#F8E6FE
Selected rows, tints
Dark surface#201424
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 #eec2fd

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#D1FDC2
Analogous left#D0C2FD
Analogous right#FDC2EE
Split-complement 1#EEFDC2
Split-complement 2#C2FDD0
Triadic 1#FDEEC2
Triadic 2#C2FDEE
Tetradic#FDD0C2

RGB percentages

Red93.3%
Green76.1%
Blue99.2%

CMYK percentages

Cyan5.9%
Magenta23.3%
Yellow0.0%
Key (black)0.8%

Color previews

#eec2fd text on a black background

contrast 13.77:1

Card sample

#eec2fd text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eec2fd

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.

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

#eec2fd, answered

What color is #eec2fd?

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

What is the RGB value of #eec2fd?

rgb(238, 194, 253) — 238 red, 194 green and 253 blue out of 255, or 93.3% / 76.1% / 99.2% by channel.

Is #eec2fd a light or a dark color?

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

Should I use black or white text on #eec2fd?

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

What is the complementary color of #eec2fd?

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

What colors go well with #eec2fd?

For interface work: #F9F4FA as the surface, #E1C0ED for borders, #864B9B for secondary text, #69C903 as an accent and #5D047B for hover and pressed states. For a palette, the analogous pair #D0C2FD and #FDC2EE stays calm, while #D1FDC2 is the loudest partner.

What is #eec2fd in CMYK for printing?

cmyk(6%, 23%, 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 #eec2fd warm or cool?

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

Work with #eec2fd in the Color Lab