Skip to content

#ce4df9

a balanced, electric violet · warm · closest name: magenta

RGB
206, 77, 249
HSL
285°, 94%, 64%
CMYK
17, 69, 0, 2
Luminance
0.2527

Every format

HEX#ce4df9
RGBrgb(206, 77, 249)
HSLhsl(285, 94%, 64%)
CMYKcmyk(17%, 69%, 0%, 2%)
LABlab(57.3 74.2 -62.7)
LCHlch(57.3 97.1 319.8)
OKLCHoklch(0.665 0.255 316.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce4df9 on white: 3.47:1
AA ✗ fail · AA-large · AAA
Aa
#ce4df9 on black: 6.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green30.2%
Blue97.6%

CMYK percentages

Cyan17.3%
Magenta69.1%
Yellow0.0%
Key (black)2.4%

Color previews

#ce4df9 text on a black background

contrast 6.05:1

Card sample

#ce4df9 text on a white background

contrast 3.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 77, 249, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 77, 249, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ce4df9;
background: linear-gradient(135deg, #ce4df9, #F94DB1);

Monochromatic scale

Palettes built from #ce4df9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce4df9 in the Color Lab