Skip to content

#ce80eb

a light, vivid violet · warm · closest name: violet

RGB
206, 128, 235
HSL
284°, 73%, 71%
CMYK
12, 46, 0, 8
Luminance
0.3456

Every format

HEX#ce80eb
RGBrgb(206, 128, 235)
HSLhsl(284, 73%, 71%)
CMYKcmyk(12%, 46%, 0%, 8%)
LABlab(65.4 47.8 -42.1)
LCHlch(65.4 63.7 318.6)
OKLCHoklch(0.721 0.169 316.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce80eb on white: 2.65:1
AA ✗ fail · AA-large · AAA
Aa
#ce80eb on black: 7.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green50.2%
Blue92.2%

CMYK percentages

Cyan12.3%
Magenta45.5%
Yellow0.0%
Key (black)7.8%

Color previews

#ce80eb text on a black background

contrast 7.91:1

Card sample

#ce80eb text on a white background

contrast 2.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce80eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce80eb in the Color Lab