Skip to content

#eec7f9

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

RGB
238, 199, 249
HSL
287°, 81%, 88%
CMYK
4, 20, 0, 2
Luminance
0.6586

Every format

HEX#eec7f9
RGBrgb(238, 199, 249)
HSLhsl(287, 81%, 88%)
CMYKcmyk(4%, 20%, 0%, 2%)
LABlab(84.9 22.4 -19.4)
LCHlch(84.9 29.6 319.1)
OKLCHoklch(0.879 0.079 318.7)

Copy-ready code

/* CSS */
color: #eec7f9;
background-color: #eec7f9;
/* Tailwind (arbitrary) */
class="text-[#eec7f9] bg-[#eec7f9]"
/* SCSS */
$brand: #eec7f9;
/* SwiftUI */
Color(red: 0.933, green: 0.780, blue: 0.976)
/* Android */
Color.parseColor("#eec7f9")

Accessibility — WCAG contrast

Aa
#eec7f9 on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#eec7f9 on black: 14.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.3%
Green78.0%
Blue97.6%

CMYK percentages

Cyan4.4%
Magenta20.1%
Yellow0.0%
Key (black)2.4%

Color previews

#eec7f9 text on a black background

contrast 14.17:1

Card sample

#eec7f9 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eec7f9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eec7f9 in the Color Lab