Skip to content

#ce4def

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

RGB
206, 77, 239
HSL
288°, 84%, 62%
CMYK
14, 68, 0, 6
Luminance
0.2466

Every format

HEX#ce4def
RGBrgb(206, 77, 239)
HSLhsl(288, 84%, 62%)
CMYKcmyk(14%, 68%, 0%, 6%)
LABlab(56.8 72.3 -58.1)
LCHlch(56.8 92.7 321.2)
OKLCHoklch(0.659 0.247 318.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce4def on white: 3.54:1
AA ✗ fail · AA-large · AAA
Aa
#ce4def on black: 5.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green30.2%
Blue93.7%

CMYK percentages

Cyan13.8%
Magenta67.8%
Yellow0.0%
Key (black)6.3%

Color previews

#ce4def text on a black background

contrast 5.93:1

Card sample

#ce4def text on a white background

contrast 3.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce4def

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce4def in the Color Lab