Skip to content

#ce4dff

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

RGB
206, 77, 255
HSL
284°, 100%, 65%
CMYK
19, 70, 0, 0
Luminance
0.2565

Every format

HEX#ce4dff
RGBrgb(206, 77, 255)
HSLhsl(284, 100%, 65%)
CMYKcmyk(19%, 70%, 0%, 0%)
LABlab(57.7 75.3 -65.4)
LCHlch(57.7 99.8 319.0)
OKLCHoklch(0.669 0.261 315.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce4dff on white: 3.43:1
AA ✗ fail · AA-large · AAA
Aa
#ce4dff on black: 6.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green30.2%
Blue100.0%

CMYK percentages

Cyan19.2%
Magenta69.8%
Yellow0.0%
Key (black)0.0%

Color previews

#ce4dff text on a black background

contrast 6.13:1

Card sample

#ce4dff text on a white background

contrast 3.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce4dff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce4dff in the Color Lab