Skip to content

#cd80eb

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

RGB
205, 128, 235
HSL
283°, 73%, 71%
CMYK
13, 46, 0, 8
Luminance
0.3442

Every format

HEX#cd80eb
RGBrgb(205, 128, 235)
HSLhsl(283, 73%, 71%)
CMYKcmyk(13%, 46%, 0%, 8%)
LABlab(65.3 47.5 -42.3)
LCHlch(65.3 63.6 318.3)
OKLCHoklch(0.720 0.169 315.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd80eb on white: 2.66:1
AA ✗ fail · AA-large · AAA
Aa
#cd80eb on black: 7.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green50.2%
Blue92.2%

CMYK percentages

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

Color previews

#cd80eb text on a black background

contrast 7.88:1

Card sample

#cd80eb text on a white background

contrast 2.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd80eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd80eb in the Color Lab