Skip to content

#ed9df6

a light, electric magenta / pink · warm · closest name: violet

RGB
237, 157, 246
HSL
294°, 83%, 79%
CMYK
4, 36, 0, 4
Luminance
0.4877

Every format

HEX#ed9df6
RGBrgb(237, 157, 246)
HSLhsl(294, 83%, 79%)
CMYKcmyk(4%, 36%, 0%, 4%)
LABlab(75.3 43.8 -32.5)
LCHlch(75.3 54.5 323.4)
OKLCHoklch(0.805 0.148 323.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ed9df6 on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#ed9df6 on black: 10.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green61.6%
Blue96.5%

CMYK percentages

Cyan3.7%
Magenta36.2%
Yellow0.0%
Key (black)3.5%

Color previews

#ed9df6 text on a black background

contrast 10.75:1

Card sample

#ed9df6 text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ed9df6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ed9df6 in the Color Lab