Skip to content

#d982fd

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

RGB
217, 130, 253
HSL
282°, 97%, 75%
CMYK
14, 49, 0, 1
Luminance
0.3781

Every format

HEX#d982fd
RGBrgb(217, 130, 253)
HSLhsl(282, 97%, 75%)
CMYKcmyk(14%, 49%, 0%, 1%)
LABlab(67.9 53.4 -48.0)
LCHlch(67.9 71.8 318.0)
OKLCHoklch(0.745 0.190 315.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d982fd on white: 2.45:1
AA ✗ fail · AA-large · AAA
Aa
#d982fd on black: 8.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.1%
Green51.0%
Blue99.2%

CMYK percentages

Cyan14.2%
Magenta48.6%
Yellow0.0%
Key (black)0.8%

Color previews

#d982fd text on a black background

contrast 8.56:1

Card sample

#d982fd text on a white background

contrast 2.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d982fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d982fd in the Color Lab