Skip to content

#d082fd

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

RGB
208, 130, 253
HSL
278°, 97%, 75%
CMYK
18, 49, 0, 1
Luminance
0.3647

Every format

HEX#d082fd
RGBrgb(208, 130, 253)
HSLhsl(278, 97%, 75%)
CMYKcmyk(18%, 49%, 0%, 1%)
LABlab(66.9 51.0 -49.7)
LCHlch(66.9 71.2 315.7)
OKLCHoklch(0.736 0.186 311.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d082fd on white: 2.53:1
AA ✗ fail · AA-large · AAA
Aa
#d082fd on black: 8.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green51.0%
Blue99.2%

CMYK percentages

Cyan17.8%
Magenta48.6%
Yellow0.0%
Key (black)0.8%

Color previews

#d082fd text on a black background

contrast 8.29:1

Card sample

#d082fd text on a white background

contrast 2.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d082fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d082fd in the Color Lab