Skip to content

#ce2ffd

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

RGB
206, 47, 253
HSL
286°, 98%, 59%
CMYK
19, 81, 0, 1
Luminance
0.2225

Every format

HEX#ce2ffd
RGBrgb(206, 47, 253)
HSLhsl(286, 98%, 59%)
CMYKcmyk(19%, 81%, 0%, 1%)
LABlab(54.3 84.4 -69.8)
LCHlch(54.3 109.5 320.4)
OKLCHoklch(0.644 0.287 316.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce2ffd on white: 3.85:1
AA ✗ fail · AA-large · AAA
Aa
#ce2ffd on black: 5.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green18.4%
Blue99.2%

CMYK percentages

Cyan18.6%
Magenta81.4%
Yellow0.0%
Key (black)0.8%

Color previews

#ce2ffd text on a black background

contrast 5.45:1

Card sample

#ce2ffd text on a white background

contrast 3.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce2ffd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce2ffd in the Color Lab