Skip to content

#eddbf2

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

RGB
237, 219, 242
HSL
287°, 47%, 90%
CMYK
2, 10, 0, 5
Luminance
0.7508

Every format

HEX#eddbf2
RGBrgb(237, 219, 242)
HSLhsl(287, 47%, 90%)
CMYKcmyk(2%, 10%, 0%, 5%)
LABlab(89.4 10.2 -9.0)
LCHlch(89.4 13.6 318.7)
OKLCHoklch(0.913 0.036 318.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eddbf2 on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#eddbf2 on black: 16.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green85.9%
Blue94.9%

CMYK percentages

Cyan2.1%
Magenta9.5%
Yellow0.0%
Key (black)5.1%

Color previews

#eddbf2 text on a black background

contrast 16.02:1

Card sample

#eddbf2 text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eddbf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eddbf2 in the Color Lab