Skip to content

#e2cfee

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

RGB
226, 207, 238
HSL
277°, 48%, 87%
CMYK
5, 13, 0, 7
Luminance
0.6697

Every format

HEX#e2cfee
RGBrgb(226, 207, 238)
HSLhsl(277, 48%, 87%)
CMYKcmyk(5%, 13%, 0%, 7%)
LABlab(85.5 12.2 -12.8)
LCHlch(85.5 17.7 313.5)
OKLCHoklch(0.879 0.047 312.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2cfee on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#e2cfee on black: 14.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green81.2%
Blue93.3%

CMYK percentages

Cyan5.0%
Magenta13.0%
Yellow0.0%
Key (black)6.7%

Color previews

#e2cfee text on a black background

contrast 14.39:1

Card sample

#e2cfee text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2cfee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2cfee in the Color Lab