Skip to content

#ce2dfd

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

RGB
206, 45, 253
HSL
286°, 98%, 58%
CMYK
19, 82, 0, 1
Luminance
0.2209

Every format

HEX#ce2dfd
RGBrgb(206, 45, 253)
HSLhsl(286, 98%, 58%)
CMYKcmyk(19%, 82%, 0%, 1%)
LABlab(54.1 84.9 -70.1)
LCHlch(54.1 110.1 320.4)
OKLCHoklch(0.643 0.288 316.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce2dfd on white: 3.88:1
AA ✗ fail · AA-large · AAA
Aa
#ce2dfd on black: 5.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green17.6%
Blue99.2%

CMYK percentages

Cyan18.6%
Magenta82.2%
Yellow0.0%
Key (black)0.8%

Color previews

#ce2dfd text on a black background

contrast 5.42:1

Card sample

#ce2dfd text on a white background

contrast 3.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce2dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce2dfd in the Color Lab