Skip to content

#ce0df6

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

RGB
206, 13, 246
HSL
290°, 93%, 51%
CMYK
16, 95, 0, 4
Luminance
0.2006

Every format

HEX#ce0df6
RGBrgb(206, 13, 246)
HSLhsl(290, 93%, 51%)
CMYKcmyk(16%, 95%, 0%, 4%)
LABlab(51.9 88.8 -69.8)
LCHlch(51.9 112.9 321.8)
OKLCHoklch(0.626 0.298 318.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce0df6 on white: 4.19:1
AA ✗ fail · AA-large · AAA
Aa
#ce0df6 on black: 5.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green5.1%
Blue96.5%

CMYK percentages

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

Color previews

#ce0df6 text on a black background

contrast 5.01:1

Card sample

#ce0df6 text on a white background

contrast 4.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce0df6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce0df6 in the Color Lab