Skip to content

#e2cfe2

a light, soft magenta / pink · warm · closest name: lavender

RGB
226, 207, 226
HSL
300°, 25%, 85%
CMYK
0, 8, 0, 11
Luminance
0.6629

Every format

HEX#e2cfe2
RGBrgb(226, 207, 226)
HSLhsl(300, 25%, 85%)
CMYKcmyk(0%, 8%, 0%, 11%)
LABlab(85.1 9.9 -7.0)
LCHlch(85.1 12.1 324.9)
OKLCHoklch(0.876 0.033 325.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2cfe2 on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#e2cfe2 on black: 14.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green81.2%
Blue88.6%

CMYK percentages

Cyan0.0%
Magenta8.4%
Yellow0.0%
Key (black)11.4%

Color previews

#e2cfe2 text on a black background

contrast 14.26:1

Card sample

#e2cfe2 text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(226, 207, 226, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(226, 207, 226, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e2cfe2;
background: linear-gradient(135deg, #e2cfe2, #E2CFD5);

Monochromatic scale

Palettes built from #e2cfe2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2cfe2 in the Color Lab