Skip to content

#ce2dff

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

RGB
206, 45, 255
HSL
286°, 100%, 59%
CMYK
19, 82, 0, 0
Luminance
0.2222

Every format

HEX#ce2dff
RGBrgb(206, 45, 255)
HSLhsl(286, 100%, 59%)
CMYKcmyk(19%, 82%, 0%, 0%)
LABlab(54.3 85.2 -71.0)
LCHlch(54.3 110.9 320.2)
OKLCHoklch(0.644 0.290 316.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce2dff on white: 3.86:1
AA ✗ fail · AA-large · AAA
Aa
#ce2dff on black: 5.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green17.6%
Blue100.0%

CMYK percentages

Cyan19.2%
Magenta82.4%
Yellow0.0%
Key (black)0.0%

Color previews

#ce2dff text on a black background

contrast 5.44:1

Card sample

#ce2dff text on a white background

contrast 3.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce2dff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce2dff in the Color Lab