Skip to content

#ce4cfd

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

RGB
206, 76, 253
HSL
284°, 98%, 65%
CMYK
19, 70, 0, 1
Luminance
0.2538

Every format

HEX#ce4cfd
RGBrgb(206, 76, 253)
HSLhsl(284, 98%, 65%)
CMYKcmyk(19%, 70%, 0%, 1%)
LABlab(57.5 75.3 -64.7)
LCHlch(57.5 99.3 319.3)
OKLCHoklch(0.666 0.260 315.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce4cfd on white: 3.46:1
AA ✗ fail · AA-large · AAA
Aa
#ce4cfd on black: 6.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green29.8%
Blue99.2%

CMYK percentages

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

Color previews

#ce4cfd text on a black background

contrast 6.08:1

Card sample

#ce4cfd text on a white background

contrast 3.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce4cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce4cfd in the Color Lab