Skip to content

#ce5df7

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

RGB
206, 93, 247
HSL
284°, 91%, 67%
CMYK
17, 62, 0, 3
Luminance
0.2767

Every format

HEX#ce5df7
RGBrgb(206, 93, 247)
HSLhsl(284, 91%, 67%)
CMYKcmyk(17%, 62%, 0%, 3%)
LABlab(59.6 67.2 -58.0)
LCHlch(59.6 88.8 319.2)
OKLCHoklch(0.681 0.234 315.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce5df7 on white: 3.21:1
AA ✗ fail · AA-large · AAA
Aa
#ce5df7 on black: 6.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green36.5%
Blue96.9%

CMYK percentages

Cyan16.6%
Magenta62.3%
Yellow0.0%
Key (black)3.1%

Color previews

#ce5df7 text on a black background

contrast 6.53:1

Card sample

#ce5df7 text on a white background

contrast 3.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce5df7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce5df7 in the Color Lab