Skip to content

#ce5cfd

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

RGB
206, 92, 253
HSL
283°, 98%, 68%
CMYK
19, 64, 0, 1
Luminance
0.2787

Every format

HEX#ce5cfd
RGBrgb(206, 92, 253)
HSLhsl(283, 98%, 68%)
CMYKcmyk(19%, 64%, 0%, 1%)
LABlab(59.8 68.8 -61.0)
LCHlch(59.8 92.0 318.4)
OKLCHoklch(0.683 0.241 314.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce5cfd on white: 3.19:1
AA ✗ fail · AA-large · AAA
Aa
#ce5cfd on black: 6.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green36.1%
Blue99.2%

CMYK percentages

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

Color previews

#ce5cfd text on a black background

contrast 6.57:1

Card sample

#ce5cfd text on a white background

contrast 3.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce5cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce5cfd in the Color Lab