Skip to content

#ce1df6

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

RGB
206, 29, 246
HSL
289°, 92%, 54%
CMYK
16, 88, 0, 4
Luminance
0.2065

Every format

HEX#ce1df6
RGBrgb(206, 29, 246)
HSLhsl(289, 92%, 54%)
CMYKcmyk(16%, 88%, 0%, 4%)
LABlab(52.6 86.8 -68.7)
LCHlch(52.6 110.8 321.6)
OKLCHoklch(0.631 0.292 318.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce1df6 on white: 4.09:1
AA ✗ fail · AA-large · AAA
Aa
#ce1df6 on black: 5.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green11.4%
Blue96.5%

CMYK percentages

Cyan16.3%
Magenta88.2%
Yellow0.0%
Key (black)3.5%

Color previews

#ce1df6 text on a black background

contrast 5.13:1

Card sample

#ce1df6 text on a white background

contrast 4.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce1df6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce1df6 in the Color Lab