Skip to content

#ce5df1

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

RGB
206, 93, 241
HSL
286°, 84%, 66%
CMYK
15, 61, 0, 6
Luminance
0.2730

Every format

HEX#ce5df1
RGBrgb(206, 93, 241)
HSLhsl(286, 84%, 66%)
CMYKcmyk(15%, 61%, 0%, 6%)
LABlab(59.3 66.0 -55.2)
LCHlch(59.3 86.1 320.1)
OKLCHoklch(0.677 0.228 317.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce5df1 on white: 3.25:1
AA ✗ fail · AA-large · AAA
Aa
#ce5df1 on black: 6.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green36.5%
Blue94.5%

CMYK percentages

Cyan14.5%
Magenta61.4%
Yellow0.0%
Key (black)5.5%

Color previews

#ce5df1 text on a black background

contrast 6.46:1

Card sample

#ce5df1 text on a white background

contrast 3.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce5df1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce5df1 in the Color Lab