Skip to content

#eec2fd

a pale, electric violet · warm · closest name: plum

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

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)

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")

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
deuteranopia
tritanopia

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

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eec2fd in the Color Lab