Skip to content

#eacaf2

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

RGB
234, 202, 242
HSL
288°, 61%, 87%
CMYK
3, 17, 0, 5
Luminance
0.6614

Every format

HEX#eacaf2
RGBrgb(234, 202, 242)
HSLhsl(288, 61%, 87%)
CMYKcmyk(3%, 17%, 0%, 5%)
LABlab(85.1 18.2 -15.5)
LCHlch(85.1 23.9 319.5)
OKLCHoklch(0.878 0.064 319.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red91.8%
Green79.2%
Blue94.9%

CMYK percentages

Cyan3.3%
Magenta16.5%
Yellow0.0%
Key (black)5.1%

Color previews

#eacaf2 text on a black background

contrast 14.23:1

Card sample

#eacaf2 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eacaf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eacaf2 in the Color Lab