Skip to content

#ce16fd

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

RGB
206, 22, 253
HSL
288°, 98%, 54%
CMYK
19, 91, 0, 1
Luminance
0.2079

Every format

HEX#ce16fd
RGBrgb(206, 22, 253)
HSLhsl(288, 98%, 54%)
CMYKcmyk(19%, 91%, 0%, 1%)
LABlab(52.7 89.0 -72.4)
LCHlch(52.7 114.7 320.9)
OKLCHoklch(0.633 0.300 317.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce16fd on white: 4.07:1
AA ✗ fail · AA-large · AAA
Aa
#ce16fd on black: 5.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green8.6%
Blue99.2%

CMYK percentages

Cyan18.6%
Magenta91.3%
Yellow0.0%
Key (black)0.8%

Color previews

#ce16fd text on a black background

contrast 5.16:1

Card sample

#ce16fd text on a white background

contrast 4.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce16fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce16fd in the Color Lab