Skip to content

#ce5dfe

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

RGB
206, 93, 254
HSL
282°, 99%, 68%
CMYK
19, 63, 0, 0
Luminance
0.2811

Every format

HEX#ce5dfe
RGBrgb(206, 93, 254)
HSLhsl(282, 99%, 68%)
CMYKcmyk(19%, 63%, 0%, 0%)
LABlab(60.0 68.6 -61.2)
LCHlch(60.0 91.9 318.2)
OKLCHoklch(0.685 0.240 314.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce5dfe on white: 3.17:1
AA ✗ fail · AA-large · AAA
Aa
#ce5dfe on black: 6.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green36.5%
Blue99.6%

CMYK percentages

Cyan18.9%
Magenta63.4%
Yellow0.0%
Key (black)0.4%

Color previews

#ce5dfe text on a black background

contrast 6.62:1

Card sample

#ce5dfe text on a white background

contrast 3.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce5dfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce5dfe in the Color Lab