Skip to content

#ce4dfb

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

RGB
206, 77, 251
HSL
285°, 96%, 64%
CMYK
18, 69, 0, 2
Luminance
0.2539

Every format

HEX#ce4dfb
RGBrgb(206, 77, 251)
HSLhsl(285, 96%, 64%)
CMYKcmyk(18%, 69%, 0%, 2%)
LABlab(57.5 74.5 -63.6)
LCHlch(57.5 98.0 319.5)
OKLCHoklch(0.666 0.257 315.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green30.2%
Blue98.4%

CMYK percentages

Cyan17.9%
Magenta69.3%
Yellow0.0%
Key (black)1.6%

Color previews

#ce4dfb text on a black background

contrast 6.08:1

Card sample

#ce4dfb text on a white background

contrast 3.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce4dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce4dfb in the Color Lab