Skip to content

#eacdf2

a pale, vivid violet · warm · closest name: lavender

RGB
234, 205, 242
HSL
287°, 59%, 88%
CMYK
3, 15, 0, 5
Luminance
0.6757

Every format

HEX#eacdf2
RGBrgb(234, 205, 242)
HSLhsl(287, 59%, 88%)
CMYKcmyk(3%, 15%, 0%, 5%)
LABlab(85.8 16.6 -14.4)
LCHlch(85.8 22.0 319.0)
OKLCHoklch(0.884 0.059 318.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eacdf2 on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#eacdf2 on black: 14.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red91.8%
Green80.4%
Blue94.9%

CMYK percentages

Cyan3.3%
Magenta15.3%
Yellow0.0%
Key (black)5.1%

Color previews

#eacdf2 text on a black background

contrast 14.51:1

Card sample

#eacdf2 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(234, 205, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(234, 205, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eacdf2;
background: linear-gradient(135deg, #eacdf2, #F2CDE1);

Monochromatic scale

Palettes built from #eacdf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eacdf2 in the Color Lab