Skip to content

#ece2fa

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

RGB
236, 226, 250
HSL
265°, 71%, 93%
CMYK
6, 10, 0, 2
Luminance
0.7913

Every format

HEX#ece2fa
RGBrgb(236, 226, 250)
HSLhsl(265, 71%, 93%)
CMYKcmyk(6%, 10%, 0%, 2%)
LABlab(91.3 7.7 -10.4)
LCHlch(91.3 13.0 306.6)
OKLCHoklch(0.928 0.034 304.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ece2fa on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#ece2fa on black: 16.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green88.6%
Blue98.0%

CMYK percentages

Cyan5.6%
Magenta9.6%
Yellow0.0%
Key (black)2.0%

Color previews

#ece2fa text on a black background

contrast 16.83:1

Card sample

#ece2fa text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ece2fa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ece2fa in the Color Lab