Skip to content

#ce56fd

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

RGB
206, 86, 253
HSL
283°, 98%, 67%
CMYK
19, 66, 0, 1
Luminance
0.2687

Every format

HEX#ce56fd
RGBrgb(206, 86, 253)
HSLhsl(283, 98%, 67%)
CMYKcmyk(19%, 66%, 0%, 1%)
LABlab(58.9 71.3 -62.5)
LCHlch(58.9 94.8 318.8)
OKLCHoklch(0.676 0.248 314.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce56fd on white: 3.29:1
AA ✗ fail · AA-large · AAA
Aa
#ce56fd on black: 6.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green33.7%
Blue99.2%

CMYK percentages

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

Color previews

#ce56fd text on a black background

contrast 6.37:1

Card sample

#ce56fd text on a white background

contrast 3.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce56fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce56fd in the Color Lab