Skip to content

#ce2cfd

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

RGB
206, 44, 253
HSL
287°, 98%, 58%
CMYK
19, 83, 0, 1
Luminance
0.2202

Every format

HEX#ce2cfd
RGBrgb(206, 44, 253)
HSLhsl(287, 98%, 58%)
CMYKcmyk(19%, 83%, 0%, 1%)
LABlab(54.0 85.1 -70.2)
LCHlch(54.0 110.3 320.5)
OKLCHoklch(0.642 0.289 316.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce2cfd on white: 3.89:1
AA ✗ fail · AA-large · AAA
Aa
#ce2cfd on black: 5.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green17.3%
Blue99.2%

CMYK percentages

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

Color previews

#ce2cfd text on a black background

contrast 5.40:1

Card sample

#ce2cfd text on a white background

contrast 3.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce2cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce2cfd in the Color Lab