Skip to content

#ce4dfd

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

RGB
206, 77, 253
HSL
284°, 98%, 65%
CMYK
19, 70, 0, 1
Luminance
0.2552

Every format

HEX#ce4dfd
RGBrgb(206, 77, 253)
HSLhsl(284, 98%, 65%)
CMYKcmyk(19%, 70%, 0%, 1%)
LABlab(57.6 74.9 -64.5)
LCHlch(57.6 98.9 319.3)
OKLCHoklch(0.667 0.259 315.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce4dfd on white: 3.44:1
AA ✗ fail · AA-large · AAA
Aa
#ce4dfd on black: 6.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green30.2%
Blue99.2%

CMYK percentages

Cyan18.6%
Magenta69.6%
Yellow0.0%
Key (black)0.8%

Color previews

#ce4dfd text on a black background

contrast 6.10:1

Card sample

#ce4dfd text on a white background

contrast 3.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce4dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce4dfd in the Color Lab