Skip to content

#ecafef

a light, vivid magenta / pink · warm · closest name: plum

RGB
236, 175, 239
HSL
297°, 67%, 81%
CMYK
1, 27, 0, 6
Luminance
0.5472

Every format

HEX#ecafef
RGBrgb(236, 175, 239)
HSLhsl(297, 67%, 81%)
CMYKcmyk(1%, 27%, 0%, 6%)
LABlab(78.9 32.7 -23.2)
LCHlch(78.9 40.1 324.6)
OKLCHoklch(0.831 0.109 325.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecafef on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#ecafef on black: 11.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green68.6%
Blue93.7%

CMYK percentages

Cyan1.3%
Magenta26.8%
Yellow0.0%
Key (black)6.3%

Color previews

#ecafef text on a black background

contrast 11.94:1

Card sample

#ecafef text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecafef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecafef in the Color Lab