Skip to content

#ce0df8

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

RGB
206, 13, 248
HSL
289°, 94%, 51%
CMYK
17, 95, 0, 3
Luminance
0.2019

Every format

HEX#ce0df8
RGBrgb(206, 13, 248)
HSLhsl(289, 94%, 51%)
CMYKcmyk(17%, 95%, 0%, 3%)
LABlab(52.0 89.1 -70.7)
LCHlch(52.0 113.8 321.6)
OKLCHoklch(0.627 0.300 318.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce0df8 on white: 4.17:1
AA ✗ fail · AA-large · AAA
Aa
#ce0df8 on black: 5.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green5.1%
Blue97.3%

CMYK percentages

Cyan16.9%
Magenta94.8%
Yellow0.0%
Key (black)2.7%

Color previews

#ce0df8 text on a black background

contrast 5.04:1

Card sample

#ce0df8 text on a white background

contrast 4.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce0df8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce0df8 in the Color Lab