Skip to content

#ed9dfd

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

RGB
237, 157, 253
HSL
290°, 96%, 80%
CMYK
6, 38, 0, 1
Luminance
0.4921

Every format

HEX#ed9dfd
RGBrgb(237, 157, 253)
HSLhsl(290, 96%, 80%)
CMYKcmyk(6%, 38%, 0%, 1%)
LABlab(75.6 45.1 -35.9)
LCHlch(75.6 57.6 321.5)
OKLCHoklch(0.808 0.155 320.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ed9dfd on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#ed9dfd on black: 10.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green61.6%
Blue99.2%

CMYK percentages

Cyan6.3%
Magenta37.9%
Yellow0.0%
Key (black)0.8%

Color previews

#ed9dfd text on a black background

contrast 10.84:1

Card sample

#ed9dfd text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ed9dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ed9dfd in the Color Lab