Skip to content

#cd82fd

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

RGB
205, 130, 253
HSL
277°, 97%, 75%
CMYK
19, 49, 0, 1
Luminance
0.3604

Every format

HEX#cd82fd
RGBrgb(205, 130, 253)
HSLhsl(277, 97%, 75%)
CMYKcmyk(19%, 49%, 0%, 1%)
LABlab(66.5 50.2 -50.2)
LCHlch(66.5 71.0 315.0)
OKLCHoklch(0.732 0.185 310.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd82fd on white: 2.56:1
AA ✗ fail · AA-large · AAA
Aa
#cd82fd on black: 8.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green51.0%
Blue99.2%

CMYK percentages

Cyan19.0%
Magenta48.6%
Yellow0.0%
Key (black)0.8%

Color previews

#cd82fd text on a black background

contrast 8.21:1

Card sample

#cd82fd text on a white background

contrast 2.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd82fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd82fd in the Color Lab