Skip to content

#ce4df7

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

RGB
206, 77, 247
HSL
286°, 91%, 64%
CMYK
17, 69, 0, 3
Luminance
0.2514

Every format

HEX#ce4df7
RGBrgb(206, 77, 247)
HSLhsl(286, 91%, 64%)
CMYKcmyk(17%, 69%, 0%, 3%)
LABlab(57.2 73.8 -61.8)
LCHlch(57.2 96.2 320.1)
OKLCHoklch(0.664 0.254 316.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce4df7 on white: 3.48:1
AA ✗ fail · AA-large · AAA
Aa
#ce4df7 on black: 6.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green30.2%
Blue96.9%

CMYK percentages

Cyan16.6%
Magenta68.8%
Yellow0.0%
Key (black)3.1%

Color previews

#ce4df7 text on a black background

contrast 6.03:1

Card sample

#ce4df7 text on a white background

contrast 3.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce4df7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce4df7 in the Color Lab