Skip to content

#ce2df6

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

RGB
206, 45, 246
HSL
288°, 92%, 57%
CMYK
16, 82, 0, 4
Luminance
0.2165

Every format

HEX#ce2df6
RGBrgb(206, 45, 246)
HSLhsl(288, 92%, 57%)
CMYKcmyk(16%, 82%, 0%, 4%)
LABlab(53.7 83.7 -67.0)
LCHlch(53.7 107.2 321.3)
OKLCHoklch(0.638 0.283 318.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce2df6 on white: 3.94:1
AA ✗ fail · AA-large · AAA
Aa
#ce2df6 on black: 5.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green17.6%
Blue96.5%

CMYK percentages

Cyan16.3%
Magenta81.7%
Yellow0.0%
Key (black)3.5%

Color previews

#ce2df6 text on a black background

contrast 5.33:1

Card sample

#ce2df6 text on a white background

contrast 3.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce2df6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce2df6 in the Color Lab