Skip to content

#d080fd

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

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

Every format

HEX#d080fd
RGBrgb(208, 128, 253)
HSLhsl(278, 97%, 75%)
CMYKcmyk(18%, 49%, 0%, 1%)
LABlab(66.5 52.0 -50.3)
LCHlch(66.5 72.4 315.9)
OKLCHoklch(0.733 0.189 312.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.6%
Green50.2%
Blue99.2%

CMYK percentages

Cyan17.8%
Magenta49.4%
Yellow0.0%
Key (black)0.8%

Color previews

#d080fd text on a black background

contrast 8.19:1

Card sample

#d080fd text on a white background

contrast 2.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d080fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d080fd in the Color Lab