Skip to content

#ce17fd

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

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

Every format

HEX#ce17fd
RGBrgb(206, 23, 253)
HSLhsl(288, 98%, 54%)
CMYKcmyk(19%, 91%, 0%, 1%)
LABlab(52.8 88.9 -72.3)
LCHlch(52.8 114.6 320.9)
OKLCHoklch(0.633 0.300 317.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green9.0%
Blue99.2%

CMYK percentages

Cyan18.6%
Magenta90.9%
Yellow0.0%
Key (black)0.8%

Color previews

#ce17fd text on a black background

contrast 5.17:1

Card sample

#ce17fd text on a white background

contrast 4.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce17fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce17fd in the Color Lab